Commit 9f242c9d authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch 'ci-remove-ci_drop_new_builds_when_ci_quota_exceeded-feature-flag' into 'master'

Remove ci_drop_new_builds_when_ci_quota_exceeded feature flag

See merge request gitlab-org/gitlab!64709
parents 1f2c3ba5 9dcfedfe
---
name: ci_drop_new_builds_when_ci_quota_exceeded
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61166
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/326709
milestone: '14.0'
type: development
group: group::pipeline execution
default_enabled: false
......@@ -13,7 +13,6 @@ module Ci
# before the first pipeline processing call
#
def execute
return unless ::Feature.enabled?(:ci_drop_new_builds_when_ci_quota_exceeded, project, default_enabled: :yaml)
return unless pipeline.created?
validate_build_matchers
......
......@@ -77,14 +77,6 @@ RSpec.describe Ci::PipelineCreation::DropNotRunnableBuildsService do
it_behaves_like 'jobs allowed to run'
end
context 'when the feature flag is disabled' do
before do
stub_feature_flags(ci_drop_new_builds_when_ci_quota_exceeded: false)
end
it_behaves_like 'jobs allowed to run'
end
context 'when the pipeline status is running' do
before do
pipeline.update!(status: :running)
......
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