2016-08-30 04:56:59 -04:00
|
|
|
- page_title "CI Lint"
|
|
|
|
- page_description "Validate your GitLab CI configuration file"
|
2017-01-06 19:02:53 -05:00
|
|
|
- content_for :page_specific_javascripts do
|
|
|
|
= page_specific_javascript_tag('lib/ace.js')
|
2016-08-30 04:56:59 -04:00
|
|
|
|
2015-08-25 21:42:46 -04:00
|
|
|
%h2 Check your .gitlab-ci.yml
|
|
|
|
|
2017-01-04 16:44:16 -05:00
|
|
|
.ci-linter
|
|
|
|
.row
|
|
|
|
= form_tag ci_lint_path, method: :post do
|
|
|
|
.form-group
|
|
|
|
.col-sm-12
|
|
|
|
.file-holder
|
2017-02-05 17:28:48 -05:00
|
|
|
.js-file-title.file-title.clearfix
|
2017-01-04 16:44:16 -05:00
|
|
|
Content of .gitlab-ci.yml
|
2017-01-13 11:07:21 -05:00
|
|
|
#ci-editor.ci-editor= @content
|
2017-01-04 16:44:16 -05:00
|
|
|
= text_area_tag(:content, @content, class: 'hidden form-control span1', rows: 7, require: true)
|
2015-12-22 03:40:32 -05:00
|
|
|
.col-sm-12
|
2017-01-04 16:44:16 -05:00
|
|
|
.pull-left.prepend-top-10
|
|
|
|
= submit_tag('Validate', class: 'btn btn-success submit-yml')
|
|
|
|
|
|
|
|
.row.prepend-top-20
|
2015-12-22 03:40:32 -05:00
|
|
|
.col-sm-12
|
2017-01-04 16:44:16 -05:00
|
|
|
.results.ci-template
|
|
|
|
= render partial: 'create' if defined?(@status)
|