Commit b2cc96dc authored by Furkan Ayhan's avatar Furkan Ayhan

Remove FF ci_namespace_project_mirrors

Changelog: other
parent 138725b9
......@@ -13,8 +13,6 @@ module Ci
end
def execute
return unless ::Feature.enabled?(:ci_namespace_project_mirrors, default_enabled: :yaml)
# preventing parallel processing over the same event table
try_obtain_lease { process_events }
......
---
name: ci_namespace_project_mirrors
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75517
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/346786
milestone: '14.6'
type: development
group: group::sharding
default_enabled: false
......@@ -62,16 +62,6 @@ RSpec.describe Ci::ProcessSyncEventsService do
end
end
context 'when the FF ci_namespace_project_mirrors is disabled' do
before do
stub_feature_flags(ci_namespace_project_mirrors: false)
end
it 'does nothing' do
expect { execute }.not_to change(Projects::SyncEvent, :count)
end
end
it 'does not delete non-executed events' do
new_project = create(:project)
sync_event_class.delete_all
......
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