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

73 lines
3.4 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
2019-07-31 22:56:46 +05:30
- expanded = expanded_by_default?
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-12-05 23:21:45 +05:30
= _("Customize your pipeline configuration, 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
2019-10-12 21:52:04 +05:30
%section.settings#autodevops-settings.no-animate{ class: ('expanded' if expanded), data: { qa_selector: 'autodevops_settings_content' } }
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
2019-07-07 11:18:12 +05:30
= render 'autodevops_form', auto_devops_enabled: @project.auto_devops_enabled?
2018-10-15 14:42:47 +05:30
2018-11-18 11:00:15 +05:30
= render_if_exists 'projects/settings/ci_cd/protected_environments', expanded: expanded
2019-10-12 21:52:04 +05:30
%section.settings.no-animate#js-runners-settings{ class: ('expanded' if expanded), data: { qa_selector: 'runners_settings_content' } }
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
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-03-17 18:26:18 +05:30
.settings-content
= render 'projects/runners/index'
2019-10-12 21:52:04 +05:30
%section.qa-variables-settings.settings.no-animate#js-cicd-variables-settings{ class: ('expanded' if expanded), data: { qa_selector: 'variables_settings_content' } }
2018-03-17 18:26:18 +05:30
.settings-header
2019-02-15 15:39:39 +05:30
= render 'ci/variables/header', expanded: expanded
2018-03-17 18:26:18 +05:30
.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
2020-01-01 13:55:28 +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'
2020-01-01 13:55:28 +05:30
- if Feature.enabled?(:registry_retention_policies_settings, @project)
%section.settings.no-animate#js-registry-polcies{ class: ('expanded' if expanded) }
.settings-header
%h4
= _("Container Registry tag expiration policies")
%button.btn.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
%p
= _("Expiration policies for the Container Registry are a perfect solution for keeping the Registry space down while still enjoying the full power of GitLab CI/CD.")
.settings-content
= render 'projects/registry/settings/index'