2016-05-09 06:47:44 -04:00
|
|
|
= form_for runner, url: runner_form_url, html: { class: 'form-horizontal' } do |f|
|
2016-05-18 11:23:26 -04:00
|
|
|
= form_errors(runner)
|
2016-05-09 06:47:44 -04:00
|
|
|
.form-group
|
|
|
|
= label :active, "Active", class: 'control-label'
|
|
|
|
.col-sm-10
|
|
|
|
.checkbox
|
|
|
|
= f.check_box :active
|
2017-01-26 06:52:58 -05:00
|
|
|
%span.light Paused Runners don't accept new jobs
|
2017-07-31 08:59:04 -04:00
|
|
|
.form-group
|
|
|
|
= label :protected, "Protected", class: 'control-label'
|
|
|
|
.col-sm-10
|
|
|
|
.checkbox
|
2017-08-29 02:56:03 -04:00
|
|
|
= f.check_box :access_level, {}, 'ref_protected', 'not_protected'
|
2017-09-14 17:38:49 -04:00
|
|
|
%span.light This runner will only run on pipelines triggered on protected branches
|
2016-05-04 08:40:03 -04:00
|
|
|
.form-group
|
|
|
|
= label :run_untagged, 'Run untagged jobs', class: 'control-label'
|
|
|
|
.col-sm-10
|
|
|
|
.checkbox
|
|
|
|
= f.check_box :run_untagged
|
2016-05-19 15:27:52 -04:00
|
|
|
%span.light Indicates whether this runner can pick jobs without tags
|
2016-06-02 07:06:01 -04:00
|
|
|
.form-group
|
2016-06-21 04:31:37 -04:00
|
|
|
= label :locked, 'Lock to current projects', class: 'control-label'
|
2016-06-02 07:06:01 -04:00
|
|
|
.col-sm-10
|
|
|
|
.checkbox
|
|
|
|
= f.check_box :locked
|
2016-06-21 04:31:37 -04:00
|
|
|
%span.light When a runner is locked, it cannot be assigned to other projects
|
2016-05-09 06:47:44 -04:00
|
|
|
.form-group
|
|
|
|
= label_tag :token, class: 'control-label' do
|
|
|
|
Token
|
|
|
|
.col-sm-10
|
|
|
|
= f.text_field :token, class: 'form-control', readonly: true
|
|
|
|
.form-group
|
|
|
|
= label_tag :description, class: 'control-label' do
|
|
|
|
Description
|
|
|
|
.col-sm-10
|
|
|
|
= f.text_field :description, class: 'form-control'
|
|
|
|
.form-group
|
|
|
|
= label_tag :tag_list, class: 'control-label' do
|
|
|
|
Tags
|
|
|
|
.col-sm-10
|
2017-02-14 17:28:35 -05:00
|
|
|
= f.text_field :tag_list, value: runner.tag_list.sort.join(', '), class: 'form-control'
|
2017-09-13 03:45:35 -04:00
|
|
|
.help-block You can setup jobs to only use Runners with specific tags. Separate tags with commas.
|
2016-05-09 06:47:44 -04:00
|
|
|
.form-actions
|
|
|
|
= f.submit 'Save changes', class: 'btn btn-save'
|