summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-17 13:12:30 -0400
committerBrad King <brad.king@kitware.com>2020-09-17 13:12:30 -0400
commit6dca75fd86d09a8c744e6c6a06a23c0539507b31 (patch)
tree1cabc6b758890f5c55cdf7bf3a1b804be11da1bb /.gitlab
parent4fc07cd369cd46fbd859f140eda971d00ac52704 (diff)
downloadcmake-6dca75fd86d09a8c744e6c6a06a23c0539507b31.tar.gz
gitlab-ci: minimize pipeline for packaging
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/rules.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml
index 2bc44966ff..1803e790cd 100644
--- a/.gitlab/rules.yml
+++ b/.gitlab/rules.yml
@@ -2,6 +2,8 @@
.run_manually:
rules:
+ - if: '$CMAKE_CI_PACKAGE == "true"'
+ when: never
- if: '$CI_MERGE_REQUEST_ID'
when: manual
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
@@ -11,6 +13,8 @@
.run_automatically:
rules:
+ - if: '$CMAKE_CI_PACKAGE == "true"'
+ when: never
- if: '$CI_MERGE_REQUEST_ID'
when: on_success
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
@@ -19,6 +23,6 @@
.run_only_for_package:
rules:
- - if: '$CMAKE_PACKAGE == "true"'
+ - if: '$CMAKE_CI_PACKAGE == "true"'
when: on_success
- when: never