Commit d8e40c2a authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Merge branch 'zj-auto-devops-table' of gitlab.com:zj/gitlab-ce into zj-auto-devops-table

parents bcd70c4c 19145b92
...@@ -243,6 +243,7 @@ import bp from './breakpoints'; ...@@ -243,6 +243,7 @@ import bp from './breakpoints';
propsData: { propsData: {
endpoint: pipelineTableViewEl.dataset.endpoint, endpoint: pipelineTableViewEl.dataset.endpoint,
helpPagePath: pipelineTableViewEl.dataset.helpPagePath, helpPagePath: pipelineTableViewEl.dataset.helpPagePath,
autoDevopsHelpPath: pipelineTableViewEl.dataset.helpAutoDevopsPath,
}, },
}).$mount(); }).$mount();
......
...@@ -6,42 +6,39 @@ ...@@ -6,42 +6,39 @@
= form_for @project, url: project_pipelines_settings_path(@project) do |f| = form_for @project, url: project_pipelines_settings_path(@project) do |f|
%fieldset.builds-feature %fieldset.builds-feature
.form-group .form-group
%p Pipelines need to have AutoDevOps enabled or have a .gitlab-ci.yml configured before you can begin using Continious Integration and Delivery. %p Pipelines need to have Auto DevOps enabled or have a .gitlab-ci.yml configured before you can begin using Continuous Integration and Delivery.
= f.label :auto_devops_enabled, 'Auto DevOps (Beta)', class: 'label-light' %h5 Auto DevOps (Beta)
%p %p
Auto DevOps will automatically build, test, and deploy your application based on a predefined CI/CD configuration. Auto DevOps will automatically build, test, and deploy your application based on a predefined Continious Integration and Delivery configuration.
= link_to 'Learn more about Auto DevOps', help_page_path('ci/quick_start/README') #TODO fix the link = link_to 'Learn more about Auto DevOps', help_page_path('topics/autodevops/index.md')
= f.fields_for :auto_devops_attributes, @auto_devops do |form| = f.fields_for :auto_devops_attributes, @auto_devops do |form|
.radio .radio
= form.radio_button :enabled, true = form.label :enabled_true do
= form.radio_button :enabled, 'true'
%strong Enable Auto DevOps %strong Enable Auto DevOps
%br %br
%span.descr %span.descr
The Auto DevOps pipeline configuration will be used when ther is no .gitlab-ci.yml The Auto DevOps pipeline configuration will be used when there is no .gitlab-ci.yml
in the repository. in the project.
.radio .radio
= form.radio_button :enabled, false = form.label :enabled_false do
= form.radio_button :enabled, 'false'
%strong Disable Auto DevOps %strong Disable Auto DevOps
%br %br
%span.descr %span.descr
A specific .gitlab-ci.yml file needs to be specified before you can begin using Continious Integration and Delivery A specific .gitlab-ci.yml file needs to be specified before you can begin using Continious Integration and Delivery.
.radio .radio
= form.label :enabled do
= form.radio_button :enabled, nil = form.radio_button :enabled, nil
%strong %strong
Instance default (status: #{current_application_settings.auto_devops_enabled?}) Instance default (status: #{current_application_settings.auto_devops_enabled?})
%br %br
%span.descr %span.descr
Follow the instance default to either have Auto DevOps enabled or disabled when there is no .gitlab-ci.yml file specified Follow the instance default to either have Auto DevOps enabled or disabled when there is no project specific .gitlab-ci.yml file specified.
%br %br
%p %p
Define a domain used by Auto DevOps to deploy towards, this is required for deploys to succeed. Define a domain used by Auto DevOps to deploy towards, this is required for deploys to succeed.
= link_to 'Learn more about deploying with Auto DevOps', help_page_path('ci/quick_start/README') #TODO fix the link
= form.text_field :domain, class: 'form-control', placeholder: 'domain.com' = form.text_field :domain, class: 'form-control', placeholder: 'domain.com'
%br
%p
%strong Project specific pipeline configuration
Define a project specific pipeline configuration by creating a .gitlab-ci.yml file.
= link_to 'Learn more about pipelines', help_page_path('ci/quick_start/README'), class: 'btn btn-info'
%hr %hr
.form-group.append-bottom-default .form-group.append-bottom-default
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment