Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
ea8b4edb
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ea8b4edb
编写于
10月 17, 2016
作者:
A
Achilleas Pipinellis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rearrange the Pipelines settings page sections and link to docs
上级
4392098e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
34 addition
and
19 deletion
+34
-19
app/views/projects/pipelines_settings/show.html.haml
app/views/projects/pipelines_settings/show.html.haml
+34
-19
未找到文件。
app/views/projects/pipelines_settings/show.html.haml
浏览文件 @
ea8b4edb
...
...
@@ -5,33 +5,59 @@
%h4
.prepend-top-0
=
page_title
.col-lg-9
%h5
.prepend-top-0
Pipelines
=
form_for
@project
,
url:
namespace_project_pipelines_settings_path
(
@project
.
namespace
.
becomes
(
Namespace
),
@project
)
do
|
f
|
%fieldset
.builds-feature
-
unless
@repository
.
gitlab_ci_yml
.form-group
%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'
%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
%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
=
f
.
label
:build_allow_git_fetch_false
do
=
f
.
radio_button
:build_allow_git_fetch
,
'false'
%strong
git clone
%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
=
f
.
label
:build_allow_git_fetch_true
do
=
f
.
radio_button
:build_allow_git_fetch
,
'true'
%strong
git fetch
%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
=
f
.
label
:build_timeout_in_minutes
,
'Timeout'
,
class:
'label-light'
=
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
=
f
.
label
:build_coverage_regex
,
"Test coverage parsing"
,
class:
'label-light'
.input-group
...
...
@@ -41,6 +67,7 @@
%p
.help-block
We will use this regular expression to find test coverage output in build trace.
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
%p
Below are examples of regex for existing tools:
%ul
...
...
@@ -57,21 +84,9 @@
gcovr (C/C++) -
%code
^TOTAL.*\s+(\d+\%)$
%li
tap --coverage-report=text-summary (Node
.js
) -
tap --coverage-report=text-summary (Node
JS
) -
%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"
%hr
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录