Remove the ci_job_request_with_tags_matcher
This commit is contained in:
parent
7b1eb2a669
commit
55c453858d
|
@ -25,14 +25,12 @@ module Ci
|
|||
|
||||
valid = true
|
||||
|
||||
if Feature.enabled?('ci_job_request_with_tags_matcher')
|
||||
# pick builds that does not have other tags than runner's one
|
||||
builds = builds.matches_tag_ids(runner.tags.ids)
|
||||
# pick builds that does not have other tags than runner's one
|
||||
builds = builds.matches_tag_ids(runner.tags.ids)
|
||||
|
||||
# pick builds that have at least one tag
|
||||
unless runner.run_untagged?
|
||||
builds = builds.with_any_tags
|
||||
end
|
||||
# pick builds that have at least one tag
|
||||
unless runner.run_untagged?
|
||||
builds = builds.with_any_tags
|
||||
end
|
||||
|
||||
builds.find do |build|
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Remove the ci_job_request_with_tags_matcher
|
||||
merge_request:
|
||||
author:
|
||||
type: performance
|
Loading…
Reference in New Issue