Add minor corrections related to config of runner

This commit is contained in:
Grzegorz Bizon 2016-05-10 13:19:25 +02:00
parent 0fd100d28d
commit bf9cc351c2
4 changed files with 6 additions and 7 deletions

View file

@ -1,4 +1,5 @@
= form_for runner, url: runner_form_url, html: { class: 'form-horizontal' } do |f|
= form_errors(@runner)
.form-group
= label :active, "Active", class: 'control-label'
.col-sm-10
@ -10,7 +11,7 @@
.col-sm-10
.checkbox
= 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
= label_tag :token, class: 'control-label' do
Token

View file

@ -2,7 +2,5 @@
%h4 Runner ##{@runner.id}
= form_errors(@runner)
%hr
= render 'form', runner: @runner, runner_form_url: runner_path(@runner)

View file

@ -127,9 +127,9 @@ the appropriate dependencies to run Rails test suites.
### Prevent runner with tags from picking jobs without tags
You can configure runner to prevent it from picking jobs with tags when
runnner does not have tags assigned. This configuration setting is available
in GitLab interface when editting runner details.
You can configure a runner to prevent it from picking jobs with tags when
the runnner does not have tags assigned. This setting is available on each
runner in *Project Settings* > *Runners*.
### Be careful with sensitive information

View file

@ -32,7 +32,7 @@ module Ci
tag_list: params[:tag_list] }
unless params[:run_untagged].nil?
attributes.merge!(run_untagged: params[:run_untagged])
attributes[:run_untagged] = params[:run_untagged]
end
runner =