2015-10-24 18:46:33 +05:30
|
|
|
|
- if @ci_project.generated_yaml_config
|
2015-09-25 12:07:36 +05:30
|
|
|
|
%p.alert.alert-danger
|
2015-10-24 18:46:33 +05:30
|
|
|
|
CI Jobs are deprecated now, you can #{link_to "download", dumped_yaml_ci_project_path(@ci_project)}
|
2015-09-25 12:07:36 +05:30
|
|
|
|
or
|
|
|
|
|
%a.preview-yml{:href => "#yaml-content", "data-toggle" => "modal"} preview
|
|
|
|
|
yaml file which is based on your old jobs.
|
|
|
|
|
Put this file to the root of your project and name it .gitlab-ci.yml
|
|
|
|
|
|
2015-10-24 18:46:33 +05:30
|
|
|
|
- if no_runners_for_project?(@ci_project)
|
|
|
|
|
= render 'no_runners'
|
|
|
|
|
|
2015-09-25 12:07:36 +05:30
|
|
|
|
= render 'form'
|
|
|
|
|
|
2015-10-24 18:46:33 +05:30
|
|
|
|
- if @ci_project.generated_yaml_config
|
2015-09-25 12:07:36 +05:30
|
|
|
|
#yaml-content.modal.fade{"aria-hidden" => "true", "aria-labelledby" => ".gitlab-ci.yml", :role => "dialog", :tabindex => "-1"}
|
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
|
|
|
|
%button.close{"aria-hidden" => "true", "data-dismiss" => "modal", :type => "button"} ×
|
|
|
|
|
%h4.modal-title Content of .gitlab-ci.yml
|
|
|
|
|
.modal-body
|
2015-10-24 18:46:33 +05:30
|
|
|
|
= text_area_tag :yaml, @ci_project.generated_yaml_config, size: "70x25", class: "form-control"
|
2015-09-25 12:07:36 +05:30
|
|
|
|
.modal-footer
|
|
|
|
|
%button.btn.btn-default{"data-dismiss" => "modal", :type => "button"} Close
|