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_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
......
...@@ -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)
...@@ -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
......
...@@ -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 =
......
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