debian-mirror-gitlab/app/views/projects/settings/ci_cd/show.html.haml

54 lines
1.9 KiB
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- @content_class = "limit-container-width" unless fluid_layout
2018-03-17 18:26:18 +05:30
- page_title "CI / CD Settings"
- page_title "CI / CD"
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
- expanded = Rails.env.test?
2018-05-09 12:01:36 +05:30
- general_expanded = @project.errors.empty? ? expanded : true
2017-09-10 17:25:29 +05:30
2018-05-09 12:01:36 +05:30
%section.settings#js-general-pipeline-settings.no-animate{ class: ('expanded' if general_expanded) }
2018-03-17 18:26:18 +05:30
.settings-header
%h4
General pipelines settings
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-03-17 18:26:18 +05:30
= expanded ? 'Collapse' : 'Expand'
%p
Update your CI/CD configuration, like job timeout or Auto DevOps.
.settings-content
2018-05-09 12:01:36 +05:30
= render 'form'
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
%section.settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
Runners settings
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-03-17 18:26:18 +05:30
= expanded ? 'Collapse' : 'Expand'
%p
Register and see your runners for this project.
.settings-content
= render 'projects/runners/index'
%section.settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
= _('Secret variables')
= link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'secret-variables'), target: '_blank', rel: 'noopener noreferrer'
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-03-17 18:26:18 +05:30
= expanded ? 'Collapse' : 'Expand'
%p.append-bottom-0
= render "ci/variables/content"
.settings-content
= render 'ci/variables/index', save_endpoint: project_variables_path(@project)
%section.settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
Pipeline triggers
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-03-17 18:26:18 +05:30
= expanded ? 'Collapse' : 'Expand'
%p
Triggers can force a specific branch or tag to get rebuilt with an API call. These tokens will
impersonate their associated user including their access to projects and their project
permissions.
.settings-content
= render 'projects/triggers/index'