diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2023-02-17 14:33:49 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2023-02-17 14:33:49 +0300 |
commit | 49ebdd1d0f3060f0a6b6d196a88a8d0f4ef9ddcc (patch) | |
tree | 9930eab9857ead2f44b8a8c77e2f702be7a35f32 | |
parent | b7f5e56e554912f4d81e59c0ab22e203f3eb087b (diff) | |
parent | 2d0e1c69c5464e527e2db77cb7906074ab225e63 (diff) |
Merge branch 'axil-rm-review-apps-days-rules' into 'main'
Remove deprecated $CLEAN_REVIEW_APPS_DAYS rule
See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3561
Merged-by: Marcel Amirault <mamirault@gitlab.com>
Approved-by: Marcel Amirault <mamirault@gitlab.com>
Co-authored-by: Achilleas Pipinellis <axil@gitlab.com>
-rw-r--r-- | .gitlab/ci/rules.gitlab-ci.yml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index 8b47e5ac..9914236d 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -63,7 +63,7 @@ default: # .rules_scheduled: rules: - - if: $CHORES_PIPELINE == "true" || $CLEAN_REVIEW_APPS_DAYS + - if: $CHORES_PIPELINE == "true" when: never - if: '$CI_PIPELINE_SOURCE != "schedule"' when: never @@ -80,7 +80,7 @@ default: .rules_scheduled_manual: rules: - - if: $CHORES_PIPELINE == "true" || $CLEAN_REVIEW_APPS_DAYS + - if: $CHORES_PIPELINE == "true" when: never - if: '$CI_PIPELINE_SOURCE == "schedule"' when: manual @@ -88,15 +88,13 @@ default: .rules_chores: rules: - - if: '$CLEAN_REVIEW_APPS_DAYS' - when: never - if: '$CI_PIPELINE_SOURCE == "schedule" && $CHORES_PIPELINE == "true"' when: manual allow_failure: true .rules_site_tests: rules: - - if: $CHORES_PIPELINE == "true" || $CLEAN_REVIEW_APPS_DAYS + - if: $CHORES_PIPELINE == "true" when: never # Don't run site tests for review apps. - if: '$CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "trigger"' @@ -108,7 +106,7 @@ default: .rules_global_nav_test: rules: - - if: $CHORES_PIPELINE == "true" || $CLEAN_REVIEW_APPS_DAYS + - if: $CHORES_PIPELINE == "true" when: never - if: '$CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "trigger"' when: never @@ -119,7 +117,7 @@ default: .rules_prod: rules: - - if: $CHORES_PIPELINE == "true" || $CLEAN_REVIEW_APPS_DAYS + - if: $CHORES_PIPELINE == "true" when: never # Don't deploy to production for trigerred pipelines (usually review apps) - if: '$CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "trigger"' @@ -145,7 +143,7 @@ default: .rules_pages: rules: - - if: $CHORES_PIPELINE == "true" || $CLEAN_REVIEW_APPS_DAYS + - if: $CHORES_PIPELINE == "true" when: never # Don't deploy to production for trigerred pipelines (usually review apps) - if: '$CI_PIPELINE_SOURCE == "pipeline"|| $CI_PIPELINE_SOURCE == "trigger"' |