summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-10-15 18:15:07 +0200
committerIan Baum <ibaum@gitlab.com>2018-10-23 10:05:57 -0500
commit151a6c334913833c69b56e42500aba39ebd994d4 (patch)
treef3998fded0c39606880625cc199f2bc5cc7695b4 /.gitlab-ci.yml
parent41994c2adf5827b31ffe4eff26f3731ff61e1202 (diff)
downloadgitlab-ce-151a6c334913833c69b56e42500aba39ebd994d4.tar.gz
Fix the schedule:review_apps_cleanup jobadd-review-app
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
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$)/