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
34f44631
Commit
34f44631
authored
Nov 17, 2020
by
Furkan Ayhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable FF ci_auto_cancel_all_pipelines by default
parent
223fcfc6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/275997-enable-ci_auto_cancel_all_pipelines.yml
...unreleased/275997-enable-ci_auto_cancel_all_pipelines.yml
+5
-0
config/feature_flags/development/ci_auto_cancel_all_pipelines.yml
...eature_flags/development/ci_auto_cancel_all_pipelines.yml
+1
-1
lib/gitlab/ci/pipeline/chain/cancel_pending_pipelines.rb
lib/gitlab/ci/pipeline/chain/cancel_pending_pipelines.rb
+1
-1
No files found.
changelogs/unreleased/275997-enable-ci_auto_cancel_all_pipelines.yml
0 → 100644
View file @
34f44631
---
title
:
Allow canceling all pipelines with auto-cancel
merge_request
:
47906
author
:
type
:
fixed
config/feature_flags/development/ci_auto_cancel_all_pipelines.yml
View file @
34f44631
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/275997
milestone
:
'
13.6'
type
:
development
group
:
group::pipeline authoring
default_enabled
:
fals
e
default_enabled
:
tru
e
lib/gitlab/ci/pipeline/chain/cancel_pending_pipelines.rb
View file @
34f44631
...
...
@@ -35,7 +35,7 @@ module Gitlab
# rubocop: enable CodeReuse/ActiveRecord
def
pipelines
if
::
Feature
.
enabled?
(
:ci_auto_cancel_all_pipelines
,
project
,
default_enabled:
fals
e
)
if
::
Feature
.
enabled?
(
:ci_auto_cancel_all_pipelines
,
project
,
default_enabled:
tru
e
)
project
.
all_pipelines
.
ci_and_parent_sources
else
project
.
ci_pipelines
...
...
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