Commit 937c1b5b authored by Stan Hu's avatar Stan Hu

Merge branch 'remove-ci_job_request_with_tags_matcher' into 'master'

Remove the ci_job_request_with_tags_matcher

See merge request gitlab-org/gitlab-ce!19947
parents 1e22513a 55c45385
......@@ -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|
......
---
title: Remove the ci_job_request_with_tags_matcher
merge_request:
author:
type: performance
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