Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c9cde7d5
Commit
c9cde7d5
authored
Apr 06, 2022
by
drew cimino
Committed by
drew cimino
Apr 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ci_destroy_all_expired_service feature flag
Changelog: fixed
parent
8c63ebd9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
app/services/ci/job_artifacts/destroy_all_expired_service.rb
app/services/ci/job_artifacts/destroy_all_expired_service.rb
+0
-2
config/feature_flags/development/ci_destroy_all_expired_service.yml
...ture_flags/development/ci_destroy_all_expired_service.yml
+0
-8
No files found.
app/services/ci/job_artifacts/destroy_all_expired_service.rb
View file @
c9cde7d5
...
@@ -24,8 +24,6 @@ module Ci
...
@@ -24,8 +24,6 @@ module Ci
# preventing multiple `ExpireBuildArtifactsWorker` CRON jobs run concurrently,
# preventing multiple `ExpireBuildArtifactsWorker` CRON jobs run concurrently,
# which is scheduled every 7 minutes.
# which is scheduled every 7 minutes.
def
execute
def
execute
return
0
unless
::
Feature
.
enabled?
(
:ci_destroy_all_expired_service
,
default_enabled: :yaml
)
in_lock
(
EXCLUSIVE_LOCK_KEY
,
ttl:
LOCK_TIMEOUT
,
retries:
1
)
do
in_lock
(
EXCLUSIVE_LOCK_KEY
,
ttl:
LOCK_TIMEOUT
,
retries:
1
)
do
if
::
Feature
.
enabled?
(
:ci_destroy_unlocked_job_artifacts
)
if
::
Feature
.
enabled?
(
:ci_destroy_unlocked_job_artifacts
)
destroy_unlocked_job_artifacts
destroy_unlocked_job_artifacts
...
...
config/feature_flags/development/ci_destroy_all_expired_service.yml
deleted
100644 → 0
View file @
8c63ebd9
---
name
:
ci_destroy_all_expired_service
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76504
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/348786
milestone
:
'
14.6'
type
:
development
group
:
group::pipeline execution
default_enabled
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment