Fix the schedule:review_apps_cleanup job
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
41994c2adf
commit
151a6c3349
1 changed files with 6 additions and 1 deletions
|
@ -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$)/
|
||||||
|
|
Loading…
Reference in a new issue