Fix the schedule:review_apps_cleanup job

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2018-10-15 18:15:07 +02:00 committed by Ian Baum
parent 41994c2adf
commit 151a6c3349

View file

@ -995,7 +995,7 @@ stop_review:
- master - master
- /(^docs[\/-].*|.*-docs$)/ - /(^docs[\/-].*|.*-docs$)/
automated_review_cleanup: schedule:review_apps_cleanup:
<<: *dedicated-no-docs-pull-cache-job <<: *dedicated-no-docs-pull-cache-job
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
stage: build stage: build
@ -1008,10 +1008,15 @@ automated_review_cleanup:
GIT_DEPTH: "1" GIT_DEPTH: "1"
script: script:
- ruby -rrubygems scripts/review_apps/automated_cleanup.rb - ruby -rrubygems scripts/review_apps/automated_cleanup.rb
environment:
name: review/auto-cleanup
action: stop
only: only:
refs: refs:
- schedules@gitlab-org/gitlab-ce - schedules@gitlab-org/gitlab-ce
- schedules@gitlab-org/gitlab-ee - schedules@gitlab-org/gitlab-ee
kubernetes: active
except: except:
- master - master
- tags
- /(^docs[\/-].*|.*-docs$)/ - /(^docs[\/-].*|.*-docs$)/