diff options
author | Matija Čupić <matteeyah@gmail.com> | 2019-04-01 20:44:58 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2019-04-02 01:07:03 +0200 |
commit | 2c8510703cd0e99b4e1adc7740a124e7a2157def (patch) | |
tree | 64bb4bf56d5382699b35a72bc97c70f594b29f72 /app/models/commit_status.rb | |
parent | 57cba4d1e9e9964359a5c55bca6558db0d511d98 (diff) | |
download | gitlab-ce-mc/refactor/bridges-ce.tar.gz |
Backport changes from EEmc/refactor/bridges-ce
This backports CE changes from
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10521
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index f97dc38dab7..48214c076d9 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -41,7 +41,7 @@ class CommitStatus < ApplicationRecord scope :latest_ordered, -> { latest.ordered.includes(project: :namespace) } scope :retried_ordered, -> { retried.ordered.includes(project: :namespace) } scope :after_stage, -> (index) { where('stage_idx > ?', index) } - scope :processables, -> { where(type: %w[Ci::Build Ci::Bridge]) } + scope :processables, -> { where(type: %w[Ci::Build Ci::Bridge Ci::Bridges::Downstream]) } # We use `CommitStatusEnums.failure_reasons` here so that EE can more easily # extend this `Hash` with new values. |