Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-08-31 14:47:29 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-08-31 23:25:26 +0300
commit35b9213cd7e378a732991a11bc8b5fa9e711c52b (patch)
tree1264d29ec30665db944dffa3ea8d0fb9a7480c0a /app/views/projects/pipelines/index.html.haml
parent770bcf71bb85c9eff13f4eb14cbd517986da9056 (diff)
Add config_source to ci_pipelines
Given the user can soon have multiple config sources for CI, we now store what type at the time of the pipeline run we chose. This will give us insight into what triggered the new pipeline so we can display it to the enduser.
Diffstat (limited to 'app/views/projects/pipelines/index.html.haml')
-rw-r--r--app/views/projects/pipelines/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/index.html.haml b/app/views/projects/pipelines/index.html.haml
index c1729850cf4..93c3e016cba 100644
--- a/app/views/projects/pipelines/index.html.haml
+++ b/app/views/projects/pipelines/index.html.haml
@@ -13,7 +13,7 @@
"finished-path" => project_pipelines_path(@project, scope: :finished),
"branches-path" => project_pipelines_path(@project, scope: :branches),
"tags-path" => project_pipelines_path(@project, scope: :tags),
- "has-ci" => @repository.gitlab_ci_yml,
+ "has-ci" => @repository.gitlab_ci_yml || @project.auto_devops_enabled?,
"ci-lint-path" => ci_lint_path } }
= page_specific_javascript_bundle_tag('common_vue')