Commit cc66ecb0 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'mc/feature/pipeline-tracking-ce' into 'master'

Add bridge relation between Pipelines and Bridges CE backport

See merge request gitlab-org/gitlab-ce!28152
parents 636c138b 17e99aa5
...@@ -66,6 +66,10 @@ module HasStatus ...@@ -66,6 +66,10 @@ module HasStatus
def all_state_names def all_state_names
state_machines.values.flat_map(&:states).flat_map { |s| s.map(&:name) } state_machines.values.flat_map(&:states).flat_map { |s| s.map(&:name) }
end end
def completed_statuses
COMPLETED_STATUSES.map(&:to_sym)
end
end end
included do included do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment