summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/runner_setup_type.rb
blob: 70f33cef8ade088405ea78ee7ab342e0366d5154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    class RunnerSetupType < BaseObject
      graphql_name 'RunnerSetup'

      field :install_instructions, GraphQL::Types::String, null: false,
        description: 'Instructions for installing the runner on the specified architecture.'
      field :register_instructions, GraphQL::Types::String, null: true,
        description: 'Instructions for registering the runner.'
    end
  end
end