2019-02-15 15:39:39 +05:30
|
|
|
- if show_auto_devops_implicitly_enabled_banner?(project, current_user)
|
2022-07-23 23:45:48 +05:30
|
|
|
= render Pajamas::AlertComponent.new(alert_options: { class: 'qa-auto-devops-banner auto-devops-implicitly-enabled-banner' },
|
|
|
|
close_button_options: { class: 'hide-auto-devops-implicitly-enabled-banner',
|
|
|
|
data: { project_id: project.id }}) do |c|
|
2022-07-16 23:28:13 +05:30
|
|
|
= c.body do
|
2021-01-03 14:25:43 +05:30
|
|
|
= s_("AutoDevOps|The Auto DevOps pipeline has been enabled and will be used if no alternative CI configuration file is found.")
|
2021-09-04 01:27:46 +05:30
|
|
|
- unless Gitlab.config.registry.enabled
|
|
|
|
%div
|
|
|
|
= _('Container registry is not enabled on this GitLab instance. Ask an administrator to enable it in order for Auto DevOps to work.')
|
2022-07-16 23:28:13 +05:30
|
|
|
= c.actions do
|
2021-09-30 23:02:18 +05:30
|
|
|
= link_to _('Settings'), project_settings_ci_cd_path(project), class: 'alert-link btn gl-button btn-confirm'
|
|
|
|
= link_to _('More information'), help_page_path('topics/autodevops/index.md'), target: '_blank', class: 'alert-link btn gl-button btn-default gl-ml-3'
|