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
Jérome Perrin
gitlab-ce
Commits
bf9cc351
Commit
bf9cc351
authored
May 10, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add minor corrections related to config of runner
parent
0fd100d2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
app/views/projects/runners/_form.html.haml
app/views/projects/runners/_form.html.haml
+2
-1
app/views/projects/runners/edit.html.haml
app/views/projects/runners/edit.html.haml
+0
-2
doc/ci/runners/README.md
doc/ci/runners/README.md
+3
-3
lib/ci/api/runners.rb
lib/ci/api/runners.rb
+1
-1
No files found.
app/views/projects/runners/_form.html.haml
View file @
bf9cc351
=
form_for
runner
,
url:
runner_form_url
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
=
form_for
runner
,
url:
runner_form_url
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
=
form_errors
(
@runner
)
.form-group
.form-group
=
label
:active
,
"Active"
,
class:
'control-label'
=
label
:active
,
"Active"
,
class:
'control-label'
.col-sm-10
.col-sm-10
...
@@ -10,7 +11,7 @@
...
@@ -10,7 +11,7 @@
.col-sm-10
.col-sm-10
.checkbox
.checkbox
=
f
.
check_box
:run_untagged
=
f
.
check_box
:run_untagged
%span
.light
This
runner can pick jobs without tags
%span
.light
Indicates whether
runner can pick jobs without tags
.form-group
.form-group
=
label_tag
:token
,
class:
'control-label'
do
=
label_tag
:token
,
class:
'control-label'
do
Token
Token
...
...
app/views/projects/runners/edit.html.haml
View file @
bf9cc351
...
@@ -2,7 +2,5 @@
...
@@ -2,7 +2,5 @@
%h4
Runner ##{@runner.id}
%h4
Runner ##{@runner.id}
=
form_errors
(
@runner
)
%hr
%hr
=
render
'form'
,
runner:
@runner
,
runner_form_url:
runner_path
(
@runner
)
=
render
'form'
,
runner:
@runner
,
runner_form_url:
runner_path
(
@runner
)
doc/ci/runners/README.md
View file @
bf9cc351
...
@@ -127,9 +127,9 @@ the appropriate dependencies to run Rails test suites.
...
@@ -127,9 +127,9 @@ the appropriate dependencies to run Rails test suites.
### Prevent runner with tags from picking jobs without tags
### Prevent runner with tags from picking jobs without tags
You can configure runner to prevent it from picking jobs with tags when
You can configure
a
runner to prevent it from picking jobs with tags when
runnner does not have tags assigned. This configuration setting is available
the runnner does not have tags assigned. This setting is available on each
in GitLab interface when editting runner details
.
runner in
*Project Settings*
>
*Runners*
.
### Be careful with sensitive information
### Be careful with sensitive information
...
...
lib/ci/api/runners.rb
View file @
bf9cc351
...
@@ -32,7 +32,7 @@ module Ci
...
@@ -32,7 +32,7 @@ module Ci
tag_list:
params
[
:tag_list
]
}
tag_list:
params
[
:tag_list
]
}
unless
params
[
:run_untagged
].
nil?
unless
params
[
:run_untagged
].
nil?
attributes
.
merge!
(
run_untagged:
params
[
:run_untagged
])
attributes
[
:run_untagged
]
=
params
[
:run_untagged
]
end
end
runner
=
runner
=
...
...
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