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
f7a53fe6
Commit
f7a53fe6
authored
Feb 19, 2020
by
Etienne Baqué
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created UI component for forward_deployment_enabled
parent
90b7f0b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
app/controllers/projects/settings/ci_cd_controller.rb
app/controllers/projects/settings/ci_cd_controller.rb
+1
-1
app/views/projects/settings/ci_cd/_form.html.haml
app/views/projects/settings/ci_cd/_form.html.haml
+9
-0
No files found.
app/controllers/projects/settings/ci_cd_controller.rb
View file @
f7a53fe6
...
...
@@ -66,7 +66,7 @@ module Projects
[
:runners_token
,
:builds_enabled
,
:build_allow_git_fetch
,
:build_timeout_human_readable
,
:build_coverage_regex
,
:public_builds
,
:auto_cancel_pending_pipelines
,
:ci_config_path
,
:auto_cancel_pending_pipelines
,
:
forward_deployment_enabled
,
:
ci_config_path
,
auto_devops_attributes:
[
:id
,
:domain
,
:enabled
,
:deploy_strategy
],
ci_cd_settings_attributes:
[
:default_git_depth
]
].
tap
do
|
list
|
...
...
app/views/projects/settings/ci_cd/_form.html.haml
View file @
f7a53fe6
...
...
@@ -88,6 +88,15 @@
=
_
(
"New pipelines will cancel older, pending pipelines on the same branch"
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/pipelines/settings'
,
anchor:
'auto-cancel-pending-pipelines'
),
target:
'_blank'
.form-group
.form-check
=
f
.
check_box
:forward_deployment_enabled
,
{
class:
'form-check-input'
}
=
f
.
label
:forward_deployment_enabled
,
class:
'form-check-label'
do
%strong
=
_
(
"Drop older active deployments"
)
.form-text.text-muted
=
_
(
"When a deployment is successful, allow older but still pending deployment(s) to be skipped"
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/pipelines/settings'
,
anchor:
'drop-older-active-deployments'
),
target:
'_blank'
%hr
.form-group
=
f
.
label
:build_coverage_regex
,
_
(
"Test coverage parsing"
),
class:
'label-bold'
...
...
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