2016-09-29 09:46:39 +05:30
|
|
|
- page_title "CI Lint"
|
|
|
|
- page_description "Validate your GitLab CI configuration file"
|
2017-08-17 22:00:37 +05:30
|
|
|
- content_for :page_specific_javascripts do
|
|
|
|
= page_specific_javascript_tag('lib/ace.js')
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2015-09-25 12:07:36 +05:30
|
|
|
%h2 Check your .gitlab-ci.yml
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.ci-linter
|
|
|
|
.row
|
|
|
|
= form_tag ci_lint_path, method: :post do
|
|
|
|
.form-group
|
|
|
|
.col-sm-12
|
|
|
|
.file-holder
|
|
|
|
.js-file-title.file-title.clearfix
|
|
|
|
Content of .gitlab-ci.yml
|
|
|
|
#ci-editor.ci-editor= @content
|
|
|
|
= text_area_tag(:content, @content, class: 'hidden form-control span1', rows: 7, require: true)
|
2016-01-14 18:37:52 +05:30
|
|
|
.col-sm-12
|
2017-08-17 22:00:37 +05:30
|
|
|
.pull-left.prepend-top-10
|
|
|
|
= submit_tag('Validate', class: 'btn btn-success submit-yml')
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.row.prepend-top-20
|
|
|
|
.col-sm-12
|
|
|
|
.results.ci-template
|
|
|
|
= render partial: 'create' if defined?(@status)
|