blob: 4d2b26c7d98fced9df81b4ae86f2c7a60af7c3d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# frozen_string_literal: true
module Gitlab
module Ci
class Config
module External
class Mapper
# Filters locations according to rules
class Filter < Base
private
def process_without_instrumentation(locations)
locations.select do |location|
Rules.new(location[:rules]).evaluate(context).pass?
end
end
end
end
end
end
end
end
|