summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-28 21:02:20 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-29 16:59:05 (GMT)
commita0f85760ac0acdb948536cd440519171f1598b04 (patch)
treef43427a8a992226725a30dd356e7dcbda3f4b2d8 /.gitlab
parenta50982b6373ef7f88820283bdfd2c9d3d0e36634 (diff)
downloadCMake-a0f85760ac0acdb948536cd440519171f1598b04.zip
CMake-a0f85760ac0acdb948536cd440519171f1598b04.tar.gz
CMake-a0f85760ac0acdb948536cd440519171f1598b04.tar.bz2
gitlab-ci: add rules to suppress jobs in a nightly pipeline schedule
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/rules.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml
index b85b728..0402d33 100644
--- a/.gitlab/rules.yml
+++ b/.gitlab/rules.yml
@@ -4,6 +4,8 @@
rules:
- if: '$CMAKE_CI_PACKAGE != null'
when: never
+ - if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_JOB_NIGHTLY == "false")'
+ when: never
- if: '$CMAKE_CI_NIGHTLY == "true"'
when: on_success
- if: '$CMAKE_CI_JOB_NIGHTLY == "true"'
@@ -25,6 +27,8 @@
rules:
- if: '$CMAKE_CI_PACKAGE != null'
when: never
+ - if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_JOB_NIGHTLY == "false")'
+ when: never
- if: '$CMAKE_CI_NIGHTLY == "true"'
when: on_success
- if: '$CMAKE_CI_JOB_NIGHTLY == "true"'
@@ -46,6 +50,8 @@
rules:
- if: '$CMAKE_CI_PACKAGE != null'
when: never
+ - if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_JOB_NIGHTLY == "false")'
+ when: never
- if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_NIGHTLY_IGNORE_DEPS == "true")'
when: always
- if: '$CMAKE_CI_NIGHTLY == "true"'