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

25 lines
1.2 KiB
Text
Raw Normal View History

2019-07-07 11:18:12 +05:30
- add_to_breadcrumbs _('Pipelines'), project_pipelines_path(@project)
2018-03-17 18:26:18 +05:30
- breadcrumb_title "##{@pipeline.id}"
2019-07-07 11:18:12 +05:30
- page_title _('Pipeline')
2016-06-02 11:05:42 +05:30
2019-12-04 20:38:33 +05:30
.js-pipeline-container{ 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-07-07 11:18:12 +05:30
%h4= _('Found errors in your %{gitlab_ci_yml}:') % { gitlab_ci_yml: '.gitlab-ci.yml' }
2018-12-13 13:39:08 +05:30
%ul
- @pipeline.yaml_errors.split(",").each do |error|
%li= error
2019-07-07 11:18:12 +05:30
- lint_link_url = project_ci_lint_path(@project)
- lint_link_start = '<a href="%{url}">'.html_safe % { url: lint_link_url }
= s_('You can also test your %{gitlab_ci_yml} in %{lint_link_start}CI Lint%{lint_link_end}').html_safe % { gitlab_ci_yml: '.gitlab-ci.yml', lint_link_start: lint_link_start, lint_link_end: '</a>'.html_safe }
2018-12-13 13:39:08 +05:30
- else
= render "projects/pipelines/with_tabs", pipeline: @pipeline
2017-09-10 17:25:29 +05:30
2019-12-26 22:10:19 +05:30
.js-pipeline-details-vue{ data: { endpoint: project_pipeline_path(@project, @pipeline, format: :json),
test_report_endpoint: test_report_project_pipeline_path(@project, @pipeline, format: :json) } }