Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
55c45385
Commit
55c45385
authored
Jun 17, 2018
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the ci_job_request_with_tags_matcher
parent
7b1eb2a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
app/services/ci/register_job_service.rb
app/services/ci/register_job_service.rb
+5
-7
changelogs/unreleased/remove-ci_job_request_with_tags_matcher.yml
...gs/unreleased/remove-ci_job_request_with_tags_matcher.yml
+5
-0
No files found.
app/services/ci/register_job_service.rb
View file @
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
|
...
...
changelogs/unreleased/remove-ci_job_request_with_tags_matcher.yml
0 → 100644
View file @
55c45385
---
title
:
Remove the ci_job_request_with_tags_matcher
merge_request
:
author
:
type
:
performance
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment