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

66 lines
2.7 KiB
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- @content_class = "limit-container-width" unless fluid_layout
2018-11-08 19:23:39 +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
2018-11-08 19:23:39 +05:30
= _("General pipelines")
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-11-08 19:23:39 +05:30
= expanded ? _('Collapse') : _('Expand')
2018-03-17 18:26:18 +05:30
%p
2018-11-08 19:23:39 +05:30
= _("Access your runner token, customize your pipeline configuration, and view your pipeline status and coverage report.")
2018-03-17 18:26:18 +05:30
.settings-content
2018-05-09 12:01:36 +05:30
= render 'form'
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
%section.qa-autodevops-settings.settings#autodevops-settings.no-animate{ class: ('expanded' if expanded) }
2018-10-15 14:42:47 +05:30
.settings-header
%h4
2018-11-08 19:23:39 +05:30
= s_('CICD|Auto DevOps')
2018-10-15 14:42:47 +05:30
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
%p
= 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')
.settings-content
= render 'autodevops_form'
2018-11-18 11:00:15 +05:30
= render_if_exists 'projects/settings/ci_cd/protected_environments', expanded: expanded
%section.qa-runners-settings.settings.no-animate#js-runners-settings{ class: ('expanded' if expanded) }
2018-03-17 18:26:18 +05:30
.settings-header
%h4
2018-11-08 19:23:39 +05:30
= _("Runners")
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-11-08 19:23:39 +05:30
= expanded ? _('Collapse') : _('Expand')
2018-03-17 18:26:18 +05:30
%p
2018-11-08 19:23:39 +05:30
= _("Register and see your runners for this project.")
2018-03-17 18:26:18 +05:30
.settings-content
= render 'projects/runners/index'
2018-11-08 19:23:39 +05:30
%section.qa-variables-settings.settings.no-animate{ class: ('expanded' if expanded) }
2018-03-17 18:26:18 +05:30
.settings-header
%h4
2018-11-08 19:23:39 +05:30
= _('Variables')
= link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'variables'), target: '_blank', rel: 'noopener noreferrer'
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-11-08 19:23:39 +05:30
= expanded ? _('Collapse') : _('Expand')
2018-03-17 18:26:18 +05:30
%p.append-bottom-0
= render "ci/variables/content"
.settings-content
= render 'ci/variables/index', save_endpoint: project_variables_path(@project)
2018-11-08 19:23:39 +05:30
%section.settings.no-animate#js-pipeline-triggers{ class: ('expanded' if expanded) }
2018-03-17 18:26:18 +05:30
.settings-header
%h4
2018-11-08 19:23:39 +05:30
= _("Pipeline triggers")
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-11-08 19:23:39 +05:30
= expanded ? _('Collapse') : _('Expand')
2018-03-17 18:26:18 +05:30
%p
2018-11-08 19:23:39 +05:30
= _("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.")
2018-03-17 18:26:18 +05:30
.settings-content
= render 'projects/triggers/index'