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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-05-22 14:04:07 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-05-22 14:04:07 +0300
commit76a7157c76c47fd4f835a27eeeda7b42012936be (patch)
tree2af829764f509e7d35a9418062a33310d7da48f1 /app/serializers/pipeline_details_entity.rb
parentfb706d69abb2bb8f07f78b2a14206027f062cc30 (diff)
Abstract persisted/legacy stages in pipeline model
Diffstat (limited to 'app/serializers/pipeline_details_entity.rb')
-rw-r--r--app/serializers/pipeline_details_entity.rb7
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