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
676e399f
Commit
676e399f
authored
Apr 13, 2022
by
Diana Zubova
Committed by
Andrew Fontaine
Apr 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate CI setting checkboxes to Pajamas
parent
f659545e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
23 deletions
+16
-23
app/views/projects/settings/ci_cd/_form.html.haml
app/views/projects/settings/ci_cd/_form.html.haml
+16
-23
No files found.
app/views/projects/settings/ci_cd/_form.html.haml
View file @
676e399f
-
help_link_public_pipelines
=
link_to
sprite_icon
(
'question-o'
),
help_page_path
(
'ci/pipelines/settings'
,
anchor:
'change-which-users-can-view-your-pipelines'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
-
help_link_auto_canceling
=
link_to
sprite_icon
(
'question-o'
),
help_page_path
(
'ci/pipelines/settings'
,
anchor:
'auto-cancel-redundant-pipelines'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
-
help_link_skip_outdated
=
link_to
sprite_icon
(
'question-o'
),
help_page_path
(
'ci/pipelines/settings'
,
anchor:
'skip-outdated-deployment-jobs'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
.row.gl-mt-3
.row.gl-mt-3
.col-lg-12
.col-lg-12
=
form_for
@project
,
url:
project_settings_ci_cd_path
(
@project
,
anchor:
'js-general-pipeline-settings'
)
do
|
f
|
=
gitlab_ui_
form_for
@project
,
url:
project_settings_ci_cd_path
(
@project
,
anchor:
'js-general-pipeline-settings'
)
do
|
f
|
=
form_errors
(
@project
)
=
form_errors
(
@project
)
%fieldset
.builds-feature
%fieldset
.builds-feature
.form-group
.form-group
.form-check
=
f
.
gitlab_ui_checkbox_component
:public_builds
,
=
f
.
check_box
:public_builds
,
{
class:
'form-check-input'
}
_
(
"Public pipelines"
),
=
f
.
label
:public_builds
,
class:
'form-check-label'
do
help_text:
(
_
(
'Allow public access to pipelines and job details, including output logs and artifacts.'
)
+
' '
+
help_link_public_pipelines
).
html_safe
%strong
=
_
(
"Public pipelines"
)
.form-text.text-muted
=
_
(
"Allow public access to pipelines and job details, including output logs and artifacts."
)
=
link_to
sprite_icon
(
'question-o'
),
help_page_path
(
'ci/pipelines/settings'
,
anchor:
'change-which-users-can-view-your-pipelines'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
.form-group
.form-group
.form-check
=
f
.
gitlab_ui_checkbox_component
:auto_cancel_pending_pipelines
,
=
f
.
check_box
:auto_cancel_pending_pipelines
,
{
class:
'form-check-input'
},
'enabled'
,
'disabled'
_
(
"Auto-cancel redundant pipelines"
),
=
f
.
label
:auto_cancel_pending_pipelines
,
class:
'form-check-label'
do
checked_value:
'enabled'
,
%strong
=
_
(
"Auto-cancel redundant pipelines"
)
unchecked_value:
'disabled'
,
.form-text.text-muted
help_text:
(
_
(
'New pipelines cause older pending or running pipelines on the same branch to be cancelled.'
)
+
' '
+
help_link_auto_canceling
).
html_safe
=
_
(
"New pipelines cause older pending or running pipelines on the same branch to be cancelled."
)
=
link_to
sprite_icon
(
'question-o'
),
help_page_path
(
'ci/pipelines/settings'
,
anchor:
'auto-cancel-redundant-pipelines'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
.form-group
.form-group
.form-check
=
f
.
fields_for
:ci_cd_settings_attributes
,
@project
.
ci_cd_settings
do
|
form
|
=
f
.
fields_for
:ci_cd_settings_attributes
,
@project
.
ci_cd_settings
do
|
form
|
=
form
.
gitlab_ui_checkbox_component
:forward_deployment_enabled
,
_
(
"Skip outdated deployment jobs"
),
=
form
.
check_box
:forward_deployment_enabled
,
{
class:
'form-check-input'
}
help_text:
(
_
(
'When a deployment job is successful, skip older deployment jobs that are still pending.'
)
+
' '
+
help_link_skip_outdated
).
html_safe
=
form
.
label
:forward_deployment_enabled
,
class:
'form-check-label'
do
%strong
=
_
(
"Skip outdated deployment jobs"
)
.form-text.text-muted
=
_
(
"When a deployment job is successful, skip older deployment jobs that are still pending."
)
=
link_to
sprite_icon
(
'question-o'
),
help_page_path
(
'ci/pipelines/settings'
,
anchor:
'skip-outdated-deployment-jobs'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
.form-group
.form-group
=
f
.
label
:ci_config_path
,
_
(
'CI/CD configuration file'
),
class:
'label-bold'
=
f
.
label
:ci_config_path
,
_
(
'CI/CD configuration file'
),
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