Commit 3e7109fe authored by Max Woolf's avatar Max Woolf

Merge branch '297580-fj-remove-old-compatibility-class-project-housekeeping-service' into 'master'

Remove old compatibility class Projects::HousekeepingService

See merge request gitlab-org/gitlab!61894
parents e8a11380 e650e6f0
# frozen_string_literal: true
# This is a compatibility class to avoid calling a non-existent
# class from sidekiq during deployment.
#
# We're deploying the rename of this class in 13.9. Nevertheless,
# we cannot remove this class entirely because there can be jobs
# referencing it.
#
# We can get rid of this class in 13.10
# https://gitlab.com/gitlab-org/gitlab/-/issues/297580
#
module Projects
class HousekeepingService < ::Repositories::HousekeepingService
end
end
# frozen_string_literal: true
require 'spec_helper'
# This is a compatibility class to avoid calling a non-existent
# class from sidekiq during deployment.
#
# We're deploying the name of the referenced class in 13.9. Nevertheless,
# we cannot remove the class entirely because there can be jobs
# referencing it. We still need this specs to ensure that the old
# class still has the old behavior.
#
# We can get rid of this class in 13.10
# https://gitlab.com/gitlab-org/gitlab/-/issues/297580
#
RSpec.describe Projects::HousekeepingService do
it_behaves_like 'housekeeps repository' do
let_it_be(:resource) { create(:project, :repository) }
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