2020-07-28 23:09:34 +05:30
- breadcrumb_title _("CI / CD Settings")
- page_title _("CI / CD")
2017-09-10 17:25:29 +05:30
2019-07-31 22:56:46 +05:30
- expanded = expanded_by_default?
2019-12-21 20:55:43 +05:30
- general_expanded = @group.errors.empty? ? expanded : true
-# Given we only have one field in this form which is also admin-only,
-# we don't want to show an empty section to non-admin users,
- if can?(current_user, :update_max_artifacts_size, @group)
%section.settings#js-general-pipeline-settings.no-animate{ class: ('expanded' if general_expanded) }
.settings-header
%h4
= _("General pipelines")
%button.btn.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
%p
= _("Customize your pipeline configuration.")
.settings-content
= render 'groups/settings/ci_cd/form', group: @group
2018-03-17 18:26:18 +05:30
2018-12-13 13:39:08 +05:30
%section.settings#ci-variables.no-animate{ class: ('expanded' if expanded) }
2018-10-15 14:42:47 +05:30
.settings-header
2019-02-15 15:39:39 +05:30
= render 'ci/variables/header', expanded: expanded
2018-10-15 14:42:47 +05:30
.settings-content
= render 'ci/variables/index', save_endpoint: group_variables_path
2018-03-17 18:26:18 +05:30
2018-10-15 14:42:47 +05:30
%section.settings#runners-settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
2018-11-08 19:23:39 +05:30
= _('Runners')
2018-10-15 14:42:47 +05:30
%button.btn.btn-default.js-settings-toggle{ type: "button" }
= expanded ? _('Collapse') : _('Expand')
%p
2019-12-26 22:10:19 +05:30
= _("Runners are processes that pick up and execute jobs for GitLab. Here you can register and see your Runners for this project.")
= link_to s_('More information'), help_page_path('ci/runners/README')
2018-10-15 14:42:47 +05:30
.settings-content
= render 'groups/runners/index'
2019-07-07 11:18:12 +05:30
%section.settings#auto-devops-settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
= _('Auto DevOps')
%button.btn.btn-default.js-settings-toggle{ type: "button" }
= expanded ? _('Collapse') : _('Expand')
%p
- auto_devops_url = help_page_path('topics/autodevops/index')
2020-03-13 15:44:24 +05:30
- quickstart_url = help_page_path('topics/autodevops/quick_start_guide')
2019-07-07 11:18:12 +05:30
- auto_devops_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: auto_devops_url }
2020-03-13 15:44:24 +05:30
- quickstart_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: quickstart_url }
= s_('AutoDevOps|Auto DevOps can automatically build, test, and deploy applications based on predefined continuous integration and delivery configuration. %{auto_devops_start}Learn more about Auto DevOps%{auto_devops_end} or use our %{quickstart_start}quick start guide%{quickstart_end} to get started right away.').html_safe % { auto_devops_start: auto_devops_start, auto_devops_end: '</a>'.html_safe, quickstart_start: quickstart_start, quickstart_end: '</a>'.html_safe }
2019-07-07 11:18:12 +05:30
.settings-content
= render 'groups/settings/ci_cd/auto_devops_form', group: @group