Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e650e6f0
Commit
e650e6f0
authored
May 17, 2021
by
Francisco Javier López
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old compatibility class Projects::HousekeepingService
parent
c6a85564
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
app/services/projects/housekeeping_service.rb
app/services/projects/housekeeping_service.rb
+0
-16
spec/services/projects/housekeeping_service_spec.rb
spec/services/projects/housekeeping_service_spec.rb
+0
-20
No files found.
app/services/projects/housekeeping_service.rb
deleted
100644 → 0
View file @
c6a85564
# 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
spec/services/projects/housekeeping_service_spec.rb
deleted
100644 → 0
View file @
c6a85564
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment