blob: ad69175e44a87fc63bb5ad6163668faf6eb0a57e (
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 RunnerStatusEnum < BaseEnum
graphql_name 'CiRunnerStatus'
::Ci::Runner::AVAILABLE_STATUSES.each do |status|
value status.to_s.upcase,
description: "A runner that is #{status.to_s.tr('_', ' ')}.",
value: status.to_sym
end
end
end
end
|