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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
1.7 KiB
Text
Raw Normal View History

2022-03-02 08:16:31 +05:30
- @force_fluid_layout = true
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')
2020-10-24 23:57:45 +05:30
- pipeline_has_errors = @pipeline.builds.empty? && @pipeline.yaml_errors.present?
2021-01-03 14:25:43 +05:30
- add_page_specific_style 'page_bundles/pipeline'
- add_page_specific_style 'page_bundles/reports'
2021-01-29 00:20:46 +05:30
- add_page_specific_style 'page_bundles/ci_status'
2021-10-27 15:23:28 +05:30
- add_page_startup_graphql_call('pipelines/get_pipeline_details', { projectPath: @project.full_path, iid: @pipeline.iid })
2021-03-08 18:12:59 +05:30
2019-12-04 20:38:33 +05:30
.js-pipeline-container{ data: { controller_action: "#{controller.action_name}" } }
2023-03-04 22:38:38 +05:30
#js-pipeline-header-vue.pipeline-header-container{ data: { full_path: @project.full_path, graphql_resource_etag: graphql_etag_pipeline_path(@pipeline), pipeline_iid: @pipeline.iid, pipeline_id: @pipeline.id, pipelines_path: project_pipelines_path(@project) } }
2021-06-08 01:23:25 +05:30
2022-01-26 12:08:38 +05:30
= render_if_exists 'projects/pipelines/cc_validation_required_alert', pipeline: @pipeline
2021-06-08 01:23:25 +05:30
2018-11-18 11:00:15 +05:30
- if @pipeline.commit.present?
= render "projects/pipelines/info", commit: @pipeline.commit
2016-06-02 11:05:42 +05:30
2020-10-24 23:57:45 +05:30
- if pipeline_has_errors
2023-05-27 22:25:52 +05:30
= render Pajamas::AlertComponent.new(title: s_('Pipelines|Unable to create pipeline'),
variant: :danger,
dismissible: false,
alert_options: { class: 'gl-mb-5' }) do |c|
2023-07-09 08:55:56 +05:30
- c.with_body do
2023-05-27 22:25:52 +05:30
%ul
- @pipeline.yaml_errors.split("\n").each do |error|
%li= error
- if can_view_pipeline_editor?(@project)
= render Pajamas::ButtonComponent.new(href: project_ci_pipeline_editor_path(@project), variant: :confirm) do
= s_("Pipelines|Go to the pipeline editor")
2020-10-24 23:57:45 +05:30
2022-06-21 17:19:12 +05:30
- else
2023-03-04 22:38:38 +05:30
#js-pipeline-tabs{ data: js_pipeline_tabs_data(@project, @pipeline, @current_user) }