Class: Types::Ci::PipelineStatusEnum

Inherits:
BaseEnum
  • Object
show all
Defined in:
app/graphql/types/ci/pipeline_status_enum.rb

Constant Summary collapse

STATUSES_DESCRIPTION =
{
  created: 'Pipeline has been created.',
  waiting_for_resource: 'A resource (for example, a runner) that the pipeline requires to run is unavailable.',
  preparing: 'Pipeline is preparing to run.',
  pending: 'Pipeline has not started running yet.',
  running: 'Pipeline is running.',
  failed: 'At least one stage of the pipeline failed.',
  success: 'Pipeline completed successfully.',
  canceled: 'Pipeline was canceled before completion.',
  skipped: 'Pipeline was skipped.',
  manual: 'Pipeline needs to be manually started.',
  scheduled: 'Pipeline is scheduled to run.'
}.freeze

Method Summary

Methods inherited from BaseEnum

authorization, authorize, authorized?, declarative_enum, enum, from_rails_enum, value