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

runner_type_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: 12e87906179b909c2665a32e837c27193f5f601b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Types
  module Ci
    class RunnerTypeEnum < BaseEnum
      graphql_name 'CiRunnerType'

      ::Ci::Runner::AVAILABLE_TYPES.each do |runner_type|
        value runner_type.upcase,
              description: "A runner that is #{runner_type.tr('_', ' ')}.",
              value: runner_type
      end
    end
  end
end