2016-06-03 14:09:45 -04:00
|
|
|
- @no_container = true
|
2016-04-12 10:16:39 -04:00
|
|
|
- page_title "Pipelines"
|
|
|
|
|
2017-09-01 07:18:00 -04:00
|
|
|
%div{ 'class' => container_class }
|
2017-09-05 07:35:31 -04:00
|
|
|
- if show_auto_devops_callout?(@project)
|
2017-09-01 08:32:05 -04:00
|
|
|
= render 'shared/auto_devops_callout'
|
2017-09-01 07:18:00 -04:00
|
|
|
#pipelines-list-vue{ data: { endpoint: project_pipelines_path(@project, format: :json),
|
|
|
|
"help-page-path" => help_page_path('ci/quick_start/README'),
|
|
|
|
"help-auto-devops-path" => help_page_path('topics/autodevops/index.md'),
|
2017-09-22 04:39:47 -04:00
|
|
|
"empty-state-svg-path" => image_path('illustrations/pipelines_empty.svg'),
|
|
|
|
"error-state-svg-path" => image_path('illustrations/pipelines_failed.svg'),
|
2017-09-01 07:18:00 -04:00
|
|
|
"new-pipeline-path" => new_project_pipeline_path(@project),
|
|
|
|
"can-create-pipeline" => can?(current_user, :create_pipeline, @project).to_s,
|
|
|
|
"all-path" => project_pipelines_path(@project),
|
|
|
|
"pending-path" => project_pipelines_path(@project, scope: :pending),
|
|
|
|
"running-path" => project_pipelines_path(@project, scope: :running),
|
|
|
|
"finished-path" => project_pipelines_path(@project, scope: :finished),
|
|
|
|
"branches-path" => project_pipelines_path(@project, scope: :branches),
|
|
|
|
"tags-path" => project_pipelines_path(@project, scope: :tags),
|
2017-09-22 04:39:47 -04:00
|
|
|
"has-ci" => @repository.gitlab_ci_yml,
|
2017-09-01 07:18:00 -04:00
|
|
|
"ci-lint-path" => ci_lint_path } }
|
|
|
|
|
|
|
|
= page_specific_javascript_bundle_tag('common_vue')
|
|
|
|
= page_specific_javascript_bundle_tag('pipelines')
|