From 2c8510703cd0e99b4e1adc7740a124e7a2157def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20=C4=8Cupi=C4=87?= Date: Mon, 1 Apr 2019 20:44:58 +0200 Subject: Backport changes from EE This backports CE changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10521 --- app/models/commit_status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/commit_status.rb') 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. -- cgit v1.2.1