summaryrefslogtreecommitdiff
path: root/.gitlab/rules.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r--.gitlab/rules.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml
index 9302da4de8..f696c9064b 100644
--- a/.gitlab/rules.yml
+++ b/.gitlab/rules.yml
@@ -2,7 +2,7 @@
.run_manually:
rules:
- - if: '$CMAKE_CI_PACKAGE == "true"'
+ - if: '$CMAKE_CI_PACKAGE != null'
when: never
- if: '$CMAKE_CI_NIGHTLY == "true"'
when: on_success
@@ -23,7 +23,7 @@
.run_automatically:
rules:
- - if: '$CMAKE_CI_PACKAGE == "true"'
+ - if: '$CMAKE_CI_PACKAGE != null'
when: never
- if: '$CMAKE_CI_NIGHTLY == "true"'
when: on_success
@@ -44,7 +44,7 @@
.run_dependent:
rules:
- - if: '$CMAKE_CI_PACKAGE == "true"'
+ - if: '$CMAKE_CI_PACKAGE != null'
when: never
- if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_NIGHTLY_IGNORE_DEPS == "true")'
when: always
@@ -64,7 +64,11 @@
.run_only_for_package:
rules:
- - if: '$CMAKE_CI_PACKAGE == "true"'
+ - if: '$CMAKE_CI_PACKAGE != null && $CMAKE_CI_JOB_UPLOAD_PACKAGE == null'
+ when: on_success
+ - if: '$CMAKE_CI_PACKAGE == "dev" && $CMAKE_CI_JOB_UPLOAD_PACKAGE == "true"'
+ variables:
+ RSYNC_DESTINATION: "dev"
when: on_success
- when: never