diff options
author | Brad King <brad.king@kitware.com> | 2020-09-17 13:12:30 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-17 13:12:30 -0400 |
commit | 6dca75fd86d09a8c744e6c6a06a23c0539507b31 (patch) | |
tree | 1cabc6b758890f5c55cdf7bf3a1b804be11da1bb /.gitlab | |
parent | 4fc07cd369cd46fbd859f140eda971d00ac52704 (diff) | |
download | cmake-6dca75fd86d09a8c744e6c6a06a23c0539507b31.tar.gz |
gitlab-ci: minimize pipeline for packaging
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/rules.yml | 6 |
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 |