diff options
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 523f127fc92..ccc9e640970 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -995,7 +995,7 @@ stop_review: - master - /(^docs[\/-].*|.*-docs$)/ -automated_review_cleanup: +schedule:review_apps_cleanup: <<: *dedicated-no-docs-pull-cache-job image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base stage: build @@ -1008,10 +1008,15 @@ automated_review_cleanup: GIT_DEPTH: "1" script: - ruby -rrubygems scripts/review_apps/automated_cleanup.rb + environment: + name: review/auto-cleanup + action: stop only: refs: - schedules@gitlab-org/gitlab-ce - schedules@gitlab-org/gitlab-ee + kubernetes: active except: - master + - tags - /(^docs[\/-].*|.*-docs$)/ |