2020-10-30 08:08:44 -04:00
|
|
|
- page_title s_('Pipelines|Pipeline Editor')
|
|
|
|
|
2020-10-30 17:08:52 -04:00
|
|
|
#js-pipeline-editor{ data: { "ci-config-path": @project.ci_config_path_or_default,
|
2021-03-01 16:11:09 -05:00
|
|
|
"commit-sha" => @project.commit ? @project.commit.sha : '',
|
|
|
|
"default-branch" => @project.default_branch,
|
|
|
|
"empty-state-illustration-path" => image_path('illustrations/empty-state/empty-dag-md.svg'),
|
2021-03-09 10:08:59 -05:00
|
|
|
"initial-branch-name": params[:branch_name],
|
2021-03-01 16:11:09 -05:00
|
|
|
"lint-help-page-path" => help_page_path('ci/lint', anchor: 'validate-basic-logic-and-syntax'),
|
|
|
|
"new-merge-request-path" => namespace_project_new_merge_request_path,
|
2021-01-08 19:10:30 -05:00
|
|
|
"project-path" => @project.path,
|
|
|
|
"project-full-path" => @project.full_path,
|
|
|
|
"project-namespace" => @project.namespace.full_path,
|
2021-01-06 16:10:18 -05:00
|
|
|
"yml-help-page-path" => help_page_path('ci/yaml/README'),
|
2021-04-08 14:09:32 -04:00
|
|
|
"api-fuzzing-configuration-path" => project_security_configuration_api_fuzzing_path(@project),
|
2020-10-30 17:08:52 -04:00
|
|
|
} }
|