2016-08-24 22:44:58 +00:00
|
|
|
- @no_container = true
|
2017-08-17 09:42:04 +00:00
|
|
|
- add_to_breadcrumbs "Pipelines", project_pipelines_path(@project)
|
|
|
|
- breadcrumb_title "##{@pipeline.id}"
|
2016-04-13 11:01:08 +00:00
|
|
|
- page_title "Pipeline"
|
2016-04-13 15:05:17 +00:00
|
|
|
|
2016-12-23 09:37:12 +00:00
|
|
|
.js-pipeline-container{ class: container_class, data: { controller_action: "#{controller.action_name}" } }
|
2018-08-02 11:47:14 +00:00
|
|
|
#js-pipeline-header-vue.pipeline-header-container
|
|
|
|
|
2018-08-02 12:12:07 +00:00
|
|
|
- if @pipeline.commit.present?
|
|
|
|
= render "projects/pipelines/info", commit: @pipeline.commit
|
2016-04-13 15:05:17 +00:00
|
|
|
|
2018-10-29 14:58:16 +00:00
|
|
|
- if @pipeline.builds.empty? && @pipeline.yaml_errors.present?
|
|
|
|
.bs-callout.bs-callout-danger
|
|
|
|
%h4 Found errors in your .gitlab-ci.yml:
|
|
|
|
%ul
|
|
|
|
- @pipeline.yaml_errors.split(",").each do |error|
|
|
|
|
%li= error
|
|
|
|
You can test your .gitlab-ci.yml in #{link_to "CI Lint", project_ci_lint_path(@project)}.
|
|
|
|
- else
|
|
|
|
= render "projects/pipelines/with_tabs", pipeline: @pipeline
|
2017-05-26 10:56:54 +00:00
|
|
|
|
2017-06-29 17:06:35 +00:00
|
|
|
.js-pipeline-details-vue{ data: { endpoint: project_pipeline_path(@project, @pipeline, format: :json) } }
|