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:
authorMarcel Amirault <mamirault@gitlab.com>2022-06-23 17:43:36 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2022-06-23 17:43:36 +0300
commitff2844a07d13d50d66ce7f901b6e650d8a3147b4 (patch)
tree850f8c83606ea3fc70d35d58c6543aea29fbb1c4
parentcc2ffab014b4f612b0bbb2b8759601f58f2ed69d (diff)
Change delete environments job from manual to scheduled
-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