rake gitlab:sidekiq:drop_post_receive does not work with hashed storage
From: https://gitlab.com/gitlab-com/infrastructure/issues/2821#note_47684308
In %10.0 we introduced "hashed storage". When enabled, rather than storing projects on disk in a location determined by project.full_path, they are now stored in @hashed/aa/bb/full-hash. The hash is generated by SHAing the project ID.
The use of full_path
needs to be re-evaluated and tested.
# `rake gitlab:sidekiq:drop_post_receive` seems completely broken. It should be using GlRepositoryId, not path, in any case
lib/tasks/gitlab/sidekiq.rake:10: project_path = Project.find_by_full_path(args.project).repository.path_to_repo