Commit bf9cc351 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add minor corrections related to config of runner

parent 0fd100d2
= 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
......
......@@ -2,7 +2,5 @@
%h4 Runner ##{@runner.id}
= form_errors(@runner)
%hr
= render 'form', runner: @runner, runner_form_url: runner_path(@runner)
......@@ -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
......
......@@ -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 =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment