Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2022-06-23 17:43:37 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2022-06-23 17:43:37 +0300
commit64784822fc0a903e0323fd888477c24949001c87 (patch)
treec37db26c389be320a9ea0dcfd8dc4db81c1abd75
parent6f808cf75a0a6d364e635a382d85a8e15d68d373 (diff)
parentff2844a07d13d50d66ce7f901b6e650d8a3147b4 (diff)
Merge branch 'make-delete-environments-job-monthly-schedule' into 'main'
Change delete environments job from manual to scheduled See merge request gitlab-org/gitlab-docs!2850
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d44bc155..adc062f0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -532,7 +532,7 @@ clean-pages:
- review-apps
#
-# Clean up stopped review app environments. Only done in chores pipeline,
+# Clean up stopped review app environments. Done once a month in a scheduled pipeline,
# only deletes stopped environments that are over 30 days old.
#
delete_stopped_environments:
@@ -540,8 +540,8 @@ delete_stopped_environments:
needs: []
before_script: []
dependencies: []
- extends:
- - .rules_chores
+ rules:
+ - if: $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE_SCHEDULE_TIMING == "monthly"
stage: test
script:
- apk --update add curl jq