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
ea8b4edb
Commit
ea8b4edb
authored
Oct 17, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rearrange the Pipelines settings page sections and link to docs
parent
4392098e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
19 deletions
+34
-19
app/views/projects/pipelines_settings/show.html.haml
app/views/projects/pipelines_settings/show.html.haml
+34
-19
No files found.
app/views/projects/pipelines_settings/show.html.haml
View file @
ea8b4edb
...
@@ -5,33 +5,59 @@
...
@@ -5,33 +5,59 @@
%h4
.prepend-top-0
%h4
.prepend-top-0
=
page_title
=
page_title
.col-lg-9
.col-lg-9
%h5
.prepend-top-0
Pipelines
=
form_for
@project
,
url:
namespace_project_pipelines_settings_path
(
@project
.
namespace
.
becomes
(
Namespace
),
@project
)
do
|
f
|
=
form_for
@project
,
url:
namespace_project_pipelines_settings_path
(
@project
.
namespace
.
becomes
(
Namespace
),
@project
)
do
|
f
|
%fieldset
.builds-feature
%fieldset
.builds-feature
-
unless
@repository
.
gitlab_ci_yml
-
unless
@repository
.
gitlab_ci_yml
.form-group
.form-group
%p
Pipelines need to be configured before you can begin using Continuous Integration.
%p
Pipelines need to be configured before you can begin using Continuous Integration.
=
link_to
'Get started with CI/CD Pipelines'
,
help_page_path
(
'ci/quick_start/README'
),
class:
'btn btn-info'
=
link_to
'Get started with CI/CD Pipelines'
,
help_page_path
(
'ci/quick_start/README'
),
class:
'btn btn-info'
%hr
.form-group.append-bottom-default
=
f
.
label
:runners_token
,
"Runner token"
,
class:
'label-light'
=
f
.
text_field
:runners_token
,
class:
"form-control"
,
placeholder:
'xEeFCaDAB89'
%p
.help-block
The secure token used by the Runner to checkout the project
%hr
.form-group
.form-group
%p
Get recent application code using the following command:
%h5
.prepend-top-0
Git strategy for pipelines
%p
Choose between
<code>
clone
</code>
or
<code>
fetch
</code>
to get the recent application code
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/pipelines/settings'
,
anchor:
'git-strategy'
)
.radio
.radio
=
f
.
label
:build_allow_git_fetch_false
do
=
f
.
label
:build_allow_git_fetch_false
do
=
f
.
radio_button
:build_allow_git_fetch
,
'false'
=
f
.
radio_button
:build_allow_git_fetch
,
'false'
%strong
git clone
%strong
git clone
%br
%br
%span
.descr
Slower but makes sure you have a clean dir before every build
%span
.descr
Slower but makes sure the project workspace is pristine as it clones the repository from scratch for every job
.radio
.radio
=
f
.
label
:build_allow_git_fetch_true
do
=
f
.
label
:build_allow_git_fetch_true
do
=
f
.
radio_button
:build_allow_git_fetch
,
'true'
=
f
.
radio_button
:build_allow_git_fetch
,
'true'
%strong
git fetch
%strong
git fetch
%br
%br
%span
.descr
Faster
%span
.descr
Faster as it re-uses the project workspace (falling back to clone if it doesn't exist)
%hr
.form-group
.form-group
=
f
.
label
:build_timeout_in_minutes
,
'Timeout'
,
class:
'label-light'
=
f
.
label
:build_timeout_in_minutes
,
'Timeout'
,
class:
'label-light'
=
f
.
number_field
:build_timeout_in_minutes
,
class:
'form-control'
,
min:
'0'
=
f
.
number_field
:build_timeout_in_minutes
,
class:
'form-control'
,
min:
'0'
%p
.help-block
per build in minutes
%p
.help-block
Per job in minutes. If a job passes this threshold, it will be marked as failed.
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/pipelines/settings'
,
anchor:
'timeout'
)
%hr
.form-group
.checkbox
=
f
.
label
:public_builds
do
=
f
.
check_box
:public_builds
%strong
Public pipelines
.help-block
Allow everyone to access pipelines for public and internal projects
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/pipelines/settings'
,
anchor:
'visibility-of-pipelines'
)
%hr
.form-group
.form-group
=
f
.
label
:build_coverage_regex
,
"Test coverage parsing"
,
class:
'label-light'
=
f
.
label
:build_coverage_regex
,
"Test coverage parsing"
,
class:
'label-light'
.input-group
.input-group
...
@@ -41,6 +67,7 @@
...
@@ -41,6 +67,7 @@
%p
.help-block
%p
.help-block
We will use this regular expression to find test coverage output in build trace.
We will use this regular expression to find test coverage output in build trace.
Leave blank if you want to disable this feature
Leave blank if you want to disable this feature
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/pipelines/settings'
,
anchor:
'test-coverage-parsing'
)
.bs-callout.bs-callout-info
.bs-callout.bs-callout-info
%p
Below are examples of regex for existing tools:
%p
Below are examples of regex for existing tools:
%ul
%ul
...
@@ -57,21 +84,9 @@
...
@@ -57,21 +84,9 @@
gcovr (C/C++) -
gcovr (C/C++) -
%code
^TOTAL.*\s+(\d+\%)$
%code
^TOTAL.*\s+(\d+\%)$
%li
%li
tap --coverage-report=text-summary (Node
.js
) -
tap --coverage-report=text-summary (Node
JS
) -
%code
^Statements\s*:\s*([^%]+)
%code
^Statements\s*:\s*([^%]+)
.form-group
.checkbox
=
f
.
label
:public_builds
do
=
f
.
check_box
:public_builds
%strong
Public builds
.help-block
Allow everyone to access builds traces for Public and Internal projects
.form-group.append-bottom-default
=
f
.
label
:runners_token
,
"Runners token"
,
class:
'label-light'
=
f
.
text_field
:runners_token
,
class:
"form-control"
,
placeholder:
'xEeFCaDAB89'
%p
.help-block
The secure token used to checkout project.
=
f
.
submit
'Save changes'
,
class:
"btn btn-save"
=
f
.
submit
'Save changes'
,
class:
"btn btn-save"
%hr
%hr
...
...
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