debian-mirror-gitlab/app/views/projects/pipelines/show.html.haml

23 lines
925 B
Text
Raw Normal View History

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