Commit f207da68 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'remove-ci_update_queues_for_online_runners' into 'master'

Remove `ci_update_queues_for_online_runners` ff

See merge request gitlab-org/gitlab!43553
parents d7225fb0 cb1ec031
......@@ -9,9 +9,7 @@ module Ci
private
def tick_for(build, runners)
if Feature.enabled?(:ci_update_queues_for_online_runners, build.project, default_enabled: true)
runners = runners.with_recent_runner_queue
end
runners = runners.with_recent_runner_queue
runners.each do |runner|
runner.pick_build!(build)
......
---
name: ci_update_queues_for_online_runners
introduced_by_url:
rollout_issue_url:
group:
type: development
default_enabled: true
......@@ -45,21 +45,7 @@ RSpec.describe Ci::UpdateBuildQueueService do
runner.update!(contacted_at: Ci::Runner.recent_queue_deadline)
end
context 'when ci_update_queues_for_online_runners is enabled' do
before do
stub_feature_flags(ci_update_queues_for_online_runners: true)
end
it_behaves_like 'does not refresh runner'
end
context 'when ci_update_queues_for_online_runners is disabled' do
before do
stub_feature_flags(ci_update_queues_for_online_runners: false)
end
it_behaves_like 'refreshes runner'
end
it_behaves_like 'does not refresh runner'
end
end
......
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