Class: GenericCommitStatus
- Inherits:
-
CommitStatus
- Object
- ActiveRecord::Base
- ApplicationRecord
- Ci::ApplicationRecord
- CommitStatus
- GenericCommitStatus
- Defined in:
- app/models/generic_commit_status.rb
Constant Summary collapse
- EXTERNAL_STAGE_IDX =
1_000_000
Constants included from TaggableQueries
TaggableQueries::MAX_TAGS_IDS, TaggableQueries::TooManyTagsError
Constants included from Ci::HasStatus
Ci::HasStatus::ACTIVE_STATUSES, Ci::HasStatus::ALIVE_STATUSES, Ci::HasStatus::AVAILABLE_STATUSES, Ci::HasStatus::BLOCKED_STATUS, Ci::HasStatus::CANCELABLE_STATUSES, Ci::HasStatus::COMPLETED_STATUSES, Ci::HasStatus::COMPLETED_WITH_MANUAL_STATUSES, Ci::HasStatus::DEFAULT_STATUS, Ci::HasStatus::EXECUTING_STATUSES, Ci::HasStatus::IGNORED_STATUSES, Ci::HasStatus::ORDERED_STATUSES, Ci::HasStatus::PASSED_WITH_WARNINGS_STATUSES, Ci::HasStatus::STARTED_STATUSES, Ci::HasStatus::STATUSES_ENUM, Ci::HasStatus::STOPPED_STATUSES, Ci::HasStatus::UnknownStatusError
Constants inherited from ApplicationRecord
Constants included from HasCheckConstraints
HasCheckConstraints::NOT_NULL_CHECK_PATTERN
Constants included from ResetOnColumnErrors
ResetOnColumnErrors::MAX_RESET_PERIOD
Instance Attribute Summary
Attributes included from Importable
#importing, #user_contributions
Instance Method Summary collapse
Methods inherited from CommitStatus
#all_met_to_become_pending?, #archived?, #auto_canceled?, #cancelable?, #duration, #exit_code=, #expire_etag_cache!, #group_name, #has_trace?, #latest?, #locking_enabled?, locking_enabled?, names, #playable?, #queued_duration, #recoverable?, #resource_parent, #retryable?, #sortable_name, #stage_name, #stuck?, #supports_canceling?, #to_ability_name, update_as_processed!, #update_older_statuses_retried!
Methods included from TaggableQueries
Methods included from BulkInsertableAssociations
#bulk_insert_associations!, bulk_inserts_enabled?, with_bulk_insert
Methods included from Presentable
Methods included from AfterCommitQueue
#run_after_commit, #run_after_commit_or_now
Methods included from Ci::HasStatus
#active?, #blocked?, #complete?, #complete_or_manual?, #incomplete?, #started?
Methods included from Ci::Partitionable
Methods inherited from Ci::ApplicationRecord
Methods inherited from ApplicationRecord
===, cached_column_list, #create_or_load_association, declarative_enum, default_select_columns, id_in, id_not_in, iid_in, nullable_column?, pluck_primary_key, primary_key_in, #readable_by?, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, #to_ability_name, underscore, where_exists, where_not_exists, with_fast_read_statement_timeout, without_order
Methods included from ResetOnColumnErrors
#reset_on_union_error, #reset_on_unknown_attribute_error
Methods included from Gitlab::SensitiveSerializableHash
Instance Method Details
#detailed_status(current_user) ⇒ Object
18 19 20 21 22 |
# File 'app/models/generic_commit_status.rb', line 18 def detailed_status(current_user) Gitlab::Ci::Status::External::Factory .new(self, current_user) .fabricate! end |
#tags ⇒ Object
14 15 16 |
# File 'app/models/generic_commit_status.rb', line 14 def [:external] end |