diff options
author | Brad King <brad.king@kitware.com> | 2021-01-26 20:41:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-27 16:59:30 (GMT) |
commit | d997637fa3e52a504bc7aa748329dfdf026924d8 (patch) | |
tree | 6da6c59052796ee596800db312ffca6cd00fe329 /.gitlab | |
parent | a54e43670d05440b0808aa11fe19f97a048204cb (diff) | |
download | CMake-d997637fa3e52a504bc7aa748329dfdf026924d8.zip CMake-d997637fa3e52a504bc7aa748329dfdf026924d8.tar.gz CMake-d997637fa3e52a504bc7aa748329dfdf026924d8.tar.bz2 |
gitlab-ci: add rules infrastructure to allow non-MR jobs
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/rules.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index 5ee8333..e8c527d 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -9,6 +9,8 @@ - if: '($CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != "" && $CI_COMMIT_BRANCH == $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH && $CMAKE_CI_JOB_CONTINUOUS == "true")' when: delayed start_in: 5 minutes + - if: '($CMAKE_CI_NO_MR == "true" && $CI_MERGE_REQUEST_ID)' + when: never - if: '$CI_MERGE_REQUEST_ID' when: manual - if: '$CI_PROJECT_PATH == "cmake/cmake"' @@ -24,6 +26,8 @@ when: on_success - if: '($CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != "" && $CI_COMMIT_BRANCH == $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH && $CMAKE_CI_JOB_CONTINUOUS == "true")' when: on_success + - if: '($CMAKE_CI_NO_MR == "true" && $CI_MERGE_REQUEST_ID)' + when: never - if: '$CI_MERGE_REQUEST_ID' when: on_success - if: '$CI_PROJECT_PATH == "cmake/cmake"' @@ -36,6 +40,8 @@ when: never - if: '$CMAKE_CI_NIGHTLY == "true"' when: on_success + - if: '($CMAKE_CI_NO_MR == "true" && $CI_MERGE_REQUEST_ID)' + when: never - if: '$CI_MERGE_REQUEST_ID' when: on_success - if: '$CI_PROJECT_PATH == "cmake/cmake"' |