Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
d8e40c2a
Commit
d8e40c2a
authored
Sep 04, 2017
by
Zeger-Jan van de Weg
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zj-auto-devops-table' of gitlab.com:zj/gitlab-ce into zj-auto-devops-table
parents
bcd70c4c
19145b92
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
28 deletions
+26
-28
app/assets/javascripts/merge_request_tabs.js
app/assets/javascripts/merge_request_tabs.js
+1
-0
app/views/projects/pipelines_settings/_show.html.haml
app/views/projects/pipelines_settings/_show.html.haml
+25
-28
No files found.
app/assets/javascripts/merge_request_tabs.js
View file @
d8e40c2a
...
@@ -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
();
...
...
app/views/projects/pipelines_settings/_show.html.haml
View file @
d8e40c2a
...
@@ -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 Auto
DevOps enabled or have a .gitlab-ci.yml configured before you can begin using Contini
ous Integration and Delivery.
%p
Pipelines need to have Auto
DevOps enabled or have a .gitlab-ci.yml configured before you can begin using Continu
ous 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 C
I/CD
configuration.
Auto DevOps will automatically build, test, and deploy your application based on a predefined C
ontinious 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment