Skip to content
Snippets Groups Projects

"trigger" keyword and failing strategy

Merged Daniel Hornung requested to merge f-trigger-strategy into dev
+ 15
10
@@ -99,17 +99,22 @@ unittests-mysql-5:
@@ -99,17 +99,22 @@ unittests-mysql-5:
# Trigger building of server image and integration tests
# Trigger building of server image and integration tests
trigger_build:
trigger_build:
tags: [ docker ]
stage: deploy
stage: deploy
script:
inherit:
- /usr/bin/curl -X POST
variables:
-F token=$CI_JOB_TOKEN
# List the variables that shall be inherited, which also means they will override any equally
-F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME"
# named varibles in child pipelines.
-F "variables[MYSQLBACKEND]=$CI_COMMIT_REF_NAME"
- DEPLOY_REF
-F "variables[TriggerdBy]=MYSQLBACKEND"
variables:
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA"
F_BRANCH: $CI_COMMIT_REF_NAME
-F ref=$DEPLOY_REF https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline
MYSQLBACKEND: $CI_COMMIT_REF_NAME
TriggerdBy: MYSQLBACKEND
 
TriggerdByHash: $CI_COMMIT_SHORT_SHA
 
 
trigger:
 
project: caosdb/src/caosdb-deploy
 
branch: $DEPLOY_REF
 
strategy: depend
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
Loading