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

pipeline_status_enum.rb « ci « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c19ddf5bb254dbed7111de699ff5c0cc4d24b61b (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Types
  module Ci
    class PipelineStatusEnum < BaseEnum
      ::Ci::Pipeline.all_state_names.each do |state_symbol|
        value state_symbol.to_s.upcase, value: state_symbol.to_s
      end
    end
  end
end