diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2017-08-31 13:47:29 +0200 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2017-08-31 22:25:26 +0200 |
commit | 35b9213cd7e378a732991a11bc8b5fa9e711c52b (patch) | |
tree | 1264d29ec30665db944dffa3ea8d0fb9a7480c0a /app/serializers/pipeline_entity.rb | |
parent | 770bcf71bb85c9eff13f4eb14cbd517986da9056 (diff) | |
download | gitlab-ce-35b9213cd7e378a732991a11bc8b5fa9e711c52b.tar.gz |
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/serializers/pipeline_entity.rb')
-rw-r--r-- | app/serializers/pipeline_entity.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/pipeline_entity.rb b/app/serializers/pipeline_entity.rb index c4f000b0ca3..767f33e11e1 100644 --- a/app/serializers/pipeline_entity.rb +++ b/app/serializers/pipeline_entity.rb @@ -16,6 +16,7 @@ class PipelineEntity < Grape::Entity expose :flags do expose :latest?, as: :latest expose :stuck?, as: :stuck + expose :auto_devops?, as: :auto_devops expose :has_yaml_errors?, as: :yaml_errors expose :can_retry?, as: :retryable expose :can_cancel?, as: :cancelable |