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

stage_type.rb « config « ci « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2008c553629a544f97582f981bd3d738d10013da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    module Config
      class StageType < BaseObject
        graphql_name 'CiConfigStage'

        field :name, GraphQL::STRING_TYPE, null: true,
              description: 'Name of the stage'
        field :groups, Types::Ci::Config::GroupType.connection_type, null: true,
              description: 'Groups of jobs for the stage'
      end
    end
  end
end