From 151a6c334913833c69b56e42500aba39ebd994d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Mon, 15 Oct 2018 18:15:07 +0200 Subject: Fix the schedule:review_apps_cleanup job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') 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$)/ -- cgit v1.2.1