diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-22 13:04:07 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-22 13:04:07 +0200 |
commit | 76a7157c76c47fd4f835a27eeeda7b42012936be (patch) | |
tree | 2af829764f509e7d35a9418062a33310d7da48f1 /app/serializers | |
parent | fb706d69abb2bb8f07f78b2a14206027f062cc30 (diff) | |
download | gitlab-ce-76a7157c76c47fd4f835a27eeeda7b42012936be.tar.gz |
Abstract persisted/legacy stages in pipeline model
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/pipeline_details_entity.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/serializers/pipeline_details_entity.rb b/app/serializers/pipeline_details_entity.rb index 2438a5bbbdf..d58572a5f87 100644 --- a/app/serializers/pipeline_details_entity.rb +++ b/app/serializers/pipeline_details_entity.rb @@ -1,11 +1,6 @@ class PipelineDetailsEntity < PipelineEntity expose :details do - ## - # TODO consider switching to persisted stages only in pipelines table - # (not necessairly in the show pipeline page because of #23257. - # Hide this behind two feature flags - enabled / disabled and only - # gitlab-ce / everywhere. - expose :stages, as: :stages, using: StageEntity + expose :stages, using: StageEntity expose :artifacts, using: BuildArtifactEntity expose :manual_actions, using: BuildActionEntity end |