2019-03-15 10:52:08 -04:00
|
|
|
- page_title _('Pipelines')
|
2020-10-07 08:09:12 -04:00
|
|
|
- add_page_specific_style 'page_bundles/pipelines'
|
2016-04-12 10:16:39 -04:00
|
|
|
|
2019-03-15 11:27:13 -04:00
|
|
|
= render_if_exists "shared/shared_runners_minutes_limit_flash_message"
|
|
|
|
|
2019-09-03 05:03:35 -04:00
|
|
|
#pipelines-list-vue{ data: { endpoint: project_pipelines_path(@project, format: :json),
|
2020-05-06 20:11:11 -04:00
|
|
|
project_id: @project.id,
|
2020-05-20 17:09:09 -04:00
|
|
|
params: params.to_json,
|
2019-09-03 05:03:35 -04:00
|
|
|
"help-page-path" => help_page_path('ci/quick_start/README'),
|
|
|
|
"help-auto-devops-path" => help_page_path('topics/autodevops/index.md'),
|
2020-07-06 05:09:20 -04:00
|
|
|
"pipeline-schedule-url" => pipeline_schedules_path(@project),
|
2019-09-03 05:03:35 -04:00
|
|
|
"empty-state-svg-path" => image_path('illustrations/pipelines_empty.svg'),
|
|
|
|
"error-state-svg-path" => image_path('illustrations/pipelines_failed.svg'),
|
|
|
|
"no-pipelines-svg-path" => image_path('illustrations/pipelines_pending.svg'),
|
|
|
|
"can-create-pipeline" => can?(current_user, :create_pipeline, @project).to_s,
|
|
|
|
"new-pipeline-path" => can?(current_user, :create_pipeline, @project) && new_project_pipeline_path(@project),
|
|
|
|
"ci-lint-path" => can?(current_user, :create_pipeline, @project) && project_ci_lint_path(@project),
|
|
|
|
"reset-cache-path" => can?(current_user, :admin_pipeline, @project) && reset_cache_project_settings_ci_cd_path(@project) ,
|
|
|
|
"has-gitlab-ci" => (@project.has_ci? && @project.builds_enabled?).to_s } }
|