diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 553410c9f..1a84d10a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,6 +38,7 @@ variables: GIT_SUBMODULE_STRATEGY: recursive ##### PROJECT VARIABLES + MP_BRANCH: "woptim/multi-project-ci" # We build the projects in the CI clone directory. # Used in script/gitlab/build_and_test.sh script. # TODO: add a clean-up mechanism. @@ -79,6 +80,19 @@ stages: forward: pipeline_variables: true +# If testing develop branch, trigger CHAI pipeline with this version of Umpire +trigger-chai: + stage: multi-project + rules: + - if: $CI_COMMIT_BRANCH == $MP_BRANCH && $MULTI_PROJECT != "OFF" + when: on_success + - when: never + variables: + UPDATE_UMPIRE: ${MP_BRANCH} + trigger: + project: radiuss/chai + branch: develop + include: # Sets ID tokens for every job using `default:` - project: 'lc-templates/id_tokens'