Commit 2e50e7cf authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '299343-fj-enable-housekeeping-for-wikis' into 'master'

Enable housekeeping for project and group wiki repos [RUN ALL RSPEC] [RUN AS-IF-FOSS]

See merge request gitlab-org/gitlab!53011
parents 19f7e30d c7c35f39
......@@ -16,7 +16,7 @@ module Git
wiki.after_post_receive
process_changes
perform_housekeeping if Feature.enabled?(:wiki_housekeeping, wiki.container)
perform_housekeeping
end
private
......
---
title: Enable housekeeping for project and group wiki repos
merge_request: 53011
author:
type: added
---
name: wiki_housekeeping
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51576
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/299343
milestone: '13.9'
type: development
group: group::editor
default_enabled: false
......@@ -288,16 +288,6 @@ RSpec.describe Git::WikiPushService, services: true do
expect { subject }.not_to raise_error
end
context 'when feature flag :wiki_housekeeping is disabled' do
it 'does not perform housekeeping' do
stub_feature_flags(wiki_housekeeping: false)
expect(housekeeping).not_to receive(:execute)
subject
end
end
end
it 'increments the push counter' do
......
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