1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
- breadcrumb_title _("CI/CD")
- page_title _("CI/CD")
- add_page_specific_style 'page_bundles/settings'
- @force_desktop_expanded_sidebar = true
= render ::Layouts::SettingsBlockComponent.new(_('Variables'),
id: 'js-ci-cd-variables',
expanded: expanded_by_default?) do |c|
- c.with_description do
= s_('CiVariables|Variables store information that you can use in job scripts. All projects on the instance can use these variables.')
= link_to _('Learn more.'), help_page_path('ci/variables/index.md', anchor: 'for-an-instance'), target: '_blank', rel: 'noopener noreferrer'
- c.with_body do
= render 'ci/variables/attributes'
- if ci_variable_protected_by_default?
%p.settings-message.gl-text-center
- help_link = link_to('', help_page_path('ci/variables/index.md', anchor: 'protect-a-cicd-variable', target: '_blank', rel: 'noopener noreferrer'))
= safe_format(s_('Environment variables on this GitLab instance are configured to be %{help_link_start}protected%{help_link_end} by default.'), tag_pair(help_link, :help_link_start, :help_link_end))
#js-instance-variables{ data: { endpoint: admin_ci_variables_path, maskable_regex: ci_variable_maskable_regex, protected_by_default: ci_variable_protected_by_default?.to_s} }
= render ::Layouts::SettingsBlockComponent.new(_('Continuous Integration and Deployment'),
id: 'js-continuous-integration-settings',
testid: 'ci-cd-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Customize CI/CD settings, including Auto DevOps, instance runners, and job artifacts.')
- c.with_body do
= render 'ci_cd'
= render_if_exists 'admin/application_settings/required_instance_ci_setting', expanded: expanded_by_default?
= render_if_exists 'admin/application_settings/package_registry', expanded: expanded_by_default?
- if Gitlab.config.registry.enabled
= render ::Layouts::SettingsBlockComponent.new(_('Container Registry'),
id: 'js-registry-settings',
testid: 'registry-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Various container registry settings.')
- c.with_body do
= render 'registry'
= render ::Layouts::SettingsBlockComponent.new(s_('Runners|Runners'),
id: 'js-runner-settings',
testid: 'runner-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Configure runner version management and registration settings.')
- c.with_body do
= render 'runner_registrars_form'
= render ::Layouts::SettingsBlockComponent.new(s_('CID|Job token permissions'),
id: 'js-job-token-permissions-settings',
testid: 'job-token-permissions-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= s_('CICD|Configure CI/CD job token settings for all projects.')
- c.with_body do
= render 'job_token_permissions_form'
|