2017-06-09 07:06:35 -04:00
- @content_class = "limit-container-width" unless fluid_layout
2017-08-16 05:35:59 -04:00
- page_title "CI / CD Settings"
- page_title "CI / CD"
2017-07-06 12:24:03 -04:00
2017-09-06 11:38:13 -04:00
- expanded = Rails.env.test?
2018-03-22 10:31:41 -04:00
- general_expanded = @project.errors.empty? ? expanded : true
2017-09-06 11:38:13 -04:00
2018-04-17 12:37:16 -04:00
%section.settings#js-general-pipeline-settings.no-animate{ class: ('expanded' if general_expanded) }
2017-09-06 11:38:13 -04:00
.settings-header
%h4
General pipelines settings
2018-04-02 12:13:07 -04:00
%button.btn.js-settings-toggle{ type: 'button' }
2017-09-06 11:38:13 -04:00
= expanded ? 'Collapse' : 'Expand'
%p
2018-04-11 13:04:35 -04:00
Access your runner token, customize your pipeline configuration, and view your pipeline status and coverage report.
2017-10-14 02:10:37 -04:00
.settings-content
2018-03-22 10:31:41 -04:00
= render 'form'
2017-09-06 11:38:13 -04:00
2018-04-17 12:37:16 -04:00
%section.settings#autodevops-settings.no-animate{ class: ('expanded' if expanded) }
2018-04-11 13:04:35 -04:00
.settings-header
%h4
2018-05-04 15:26:54 -04:00
= s_('CICD|Auto DevOps')
2018-04-17 12:37:16 -04:00
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
2018-04-11 13:04:35 -04:00
%p
2018-04-17 12:37:16 -04:00
= s_('CICD|Auto DevOps will automatically build, test, and deploy your application based on a predefined Continuous Integration and Delivery configuration.')
= link_to s_('CICD|Learn more about Auto DevOps'), help_page_path('topics/autodevops/index.md')
2018-04-11 13:04:35 -04:00
.settings-content
= render 'autodevops_form'
2017-10-14 02:10:37 -04:00
%section.settings.no-animate{ class: ('expanded' if expanded) }
2017-09-06 11:38:13 -04:00
.settings-header
%h4
Runners settings
2018-04-02 12:13:07 -04:00
%button.btn.js-settings-toggle{ type: 'button' }
2017-09-06 11:38:13 -04:00
= expanded ? 'Collapse' : 'Expand'
%p
Register and see your runners for this project.
2017-10-14 02:10:37 -04:00
.settings-content
2017-09-06 11:38:13 -04:00
= render 'projects/runners/index'
2017-10-14 02:10:37 -04:00
%section.settings.no-animate{ class: ('expanded' if expanded) }
2017-09-06 11:38:13 -04:00
.settings-header
%h4
2018-01-16 16:13:14 -05:00
= _('Secret variables')
= link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'secret-variables'), target: '_blank', rel: 'noopener noreferrer'
2018-04-02 12:13:07 -04:00
%button.btn.js-settings-toggle{ type: 'button' }
2017-09-06 11:38:13 -04:00
= expanded ? 'Collapse' : 'Expand'
2018-01-16 16:13:14 -05:00
%p.append-bottom-0
2017-09-06 11:38:13 -04:00
= render "ci/variables/content"
2017-10-14 02:10:37 -04:00
.settings-content
2018-01-16 16:13:14 -05:00
= render 'ci/variables/index', save_endpoint: project_variables_path(@project)
2017-09-06 11:38:13 -04:00
2017-10-14 02:10:37 -04:00
%section.settings.no-animate{ class: ('expanded' if expanded) }
2017-09-06 11:38:13 -04:00
.settings-header
%h4
Pipeline triggers
2018-04-02 12:13:07 -04:00
%button.btn.js-settings-toggle{ type: 'button' }
2017-09-06 11:38:13 -04:00
= 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.
2017-10-14 02:10:37 -04:00
.settings-content
2017-09-06 11:38:13 -04:00
= render 'projects/triggers/index'