Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fix conditionnal to trigger multi-project #1647

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive

##### PROJECT VARIABLES
MP_BRANCH: "develop"
MP_BRANCH: "woptim/multi-project"
# We build the projects in the CI clone directory (used in
# script/gitlab/build_and_test.sh script).
# TODO: add a clean-up mechanism.
Expand Down Expand Up @@ -91,7 +91,9 @@ stages:
trigger-rajaperf:
stage: multi-project
rules:
- if: '$CI_COMMIT_BRANCH == "${MP_BRANCH}" || $MULTI_PROJECT == "ON"' #run only if ...
- if: $CI_COMMIT_BRANCH != $MP_BRANCH && $MULTI_PROJECT != "ON" #never run unless
when: never
- when: on_success
variables:
UPDATE_RAJA: ${MP_BRANCH}
trigger:
Expand Down