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: 7e2aa9470f20d9c17b2807c5faf27cd2a11183c1 (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::Types::String, 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