summaryrefslogtreecommitdiffstats
path: root/.gitlab/rules.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-05 20:51:04 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-05 20:51:04 (GMT)
commit2ce668b11d43fdac36b0a4b28f06b2a235e5a04b (patch)
tree1a603a560598c0b98763f56882a2e62935141ce6 /.gitlab/rules.yml
parent2f7b1dd72c3dfc184f16a7b6c8fba47f8ab5135b (diff)
parent2808281730b2c887da1845f86042566991be5a8a (diff)
downloadCMake-2ce668b11d43fdac36b0a4b28f06b2a235e5a04b.zip
CMake-2ce668b11d43fdac36b0a4b28f06b2a235e5a04b.tar.gz
CMake-2ce668b11d43fdac36b0a4b28f06b2a235e5a04b.tar.bz2
Merge branch 'backport-ci-cmake.org-help' into ci-cmake.org-help
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r--.gitlab/rules.yml17
1 files changed, 12 insertions, 5 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml
index fd7948e..d5f8795 100644
--- a/.gitlab/rules.yml
+++ b/.gitlab/rules.yml
@@ -74,14 +74,21 @@
when: on_success
- when: never
-.run_only_for_continuous_master:
+.run_cmake_org_help:
rules:
+ - if: '$CMAKE_CI_PACKAGE =~ /v[0-9]+\.[0-9]+/'
+ variables:
+ RSYNC_DESTINATION: "$CMAKE_CI_PACKAGE"
+ CMAKE_CI_VERSION_NO_GIT: "ON"
+ when: manual
- if: '$CMAKE_CI_PROJECT_MAIN_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_MAIN_BRANCH == $CI_COMMIT_BRANCH'
+ variables:
+ RSYNC_DESTINATION: "git-master"
+ CMAKE_CI_VERSION_NO_GIT: "OFF"
when: on_success
- - when: never
-
-.run_only_for_continuous_stage:
- rules:
- if: '$CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH == $CI_COMMIT_BRANCH'
+ variables:
+ RSYNC_DESTINATION: "git-stage"
+ CMAKE_CI_VERSION_NO_GIT: "OFF"
when: on_success
- when: never