Skip to content
Snippets Groups Projects
Commit f7bca816 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-trigger-strategy' into 'dev'

"trigger" keyword and failing strategy

Closes caosdb/internal/all#650 and caosdb/internal/all#526

See merge request !8
parents 3613e7fe 0bc1b1c2
Branches
Tags
2 merge requests!17Release 6.0,!8"trigger" keyword and failing strategy
Pipeline #24769 passed
......@@ -99,17 +99,23 @@ unittests-mysql-5:
# Trigger building of server image and integration tests
trigger_build:
tags: [ docker ]
stage: deploy
script:
- /usr/bin/curl -X POST
-F token=$CI_JOB_TOKEN
-F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME"
-F "variables[MYSQLBACKEND]=$CI_COMMIT_REF_NAME"
-F "variables[TriggerdBy]=MYSQLBACKEND"
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA"
-F ref=$DEPLOY_REF https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline
inherit:
variables:
# List the variables that shall be inherited, which also means they will override any equally
# named varibles in child pipelines.
- DEPLOY_REF
variables:
F_BRANCH: $CI_COMMIT_REF_NAME
MYSQLBACKEND: $CI_COMMIT_REF_NAME
TRIGGERED_BY_REPO: MYSQLBACKEND
TRIGGERED_BY_REF: $CI_COMMIT_REF_NAME
TRIGGERED_BY_HASH: $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
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment