gitlab-org--gitlab-foss/spec/tasks/gitlab
Zeger-Jan van de Weg 3aedccb17a
Port cleanup tasks to use Gitaly
Rake tasks cleaning up the Git storage were still using direct disk
access, which won't work if these aren't attached. To mitigate a
migration issue was created.

To port gitlab:cleanup:dirs, and gitlab:cleanup:repos, a new RPC was
required, ListDirectories. This was implemented in Gitaly, through
https://gitlab.com/gitlab-org/gitaly/merge_requests/868.

To be able to use the new RPC the Gitaly server was bumped to v0.120.

This is an RPC that will not use feature gates, as this doesn't scale on
.com so there is no way to test it at scale. Futhermore, we _know_ it
doesn't scale, but this might be a useful task for smaller instances.

Lastly, the tests are slightly updated to also work when the disk isn't
attached. Eventhough this is not planned, it was very little effort and
thus I applied the boy scout rule.

Closes https://gitlab.com/gitlab-org/gitaly/issues/954
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40529
2018-09-07 13:58:31 +02:00
..
artifacts fix the failing specs 2018-03-22 14:37:47 -04:00
lfs [cherry-pick] '4862-verify-file-checksums' 2018-03-08 10:20:40 -05:00
uploads fix the rake task from being to strict about Group 2018-04-02 08:19:34 -04:00
backup_rake_spec.rb Remove feature flags from lib/backup 2018-07-31 15:24:19 +02:00
check_rake_spec.rb Moved o_auth/saml/ldap modules under gitlab/auth 2018-02-28 16:53:02 +01:00
cleanup_rake_spec.rb Port cleanup tasks to use Gitaly 2018-09-07 13:58:31 +02:00
db_rake_spec.rb Fix static analysis failure 2018-06-27 14:09:06 -07:00
git_rake_spec.rb Remove git rake tasks 2018-07-31 14:31:50 +02:00
gitaly_rake_spec.rb Remove storage path dependency of gitaly install task 2018-08-12 18:52:44 -03:00
info_rake_spec.rb
ldap_rake_spec.rb Stub ENV in the LDAP task spec file 2017-10-18 18:42:09 +02:00
mail_google_schema_whitelisting.rb
shell_rake_spec.rb Find and mark more Git disk access locations, part 2 2018-06-12 14:33:37 +02:00
site_statistics_rake_spec.rb Refactor SiteStatistics to extract refresh logic into a rake task 2018-08-16 21:31:19 +02:00
storage_rake_spec.rb Resolve "Hashed Storage: Make possible to migrate single project" 2018-06-07 15:40:44 +00:00
task_helpers_spec.rb Eliminate the warnings from task helpers 2018-01-26 19:42:48 +08:00
traces_rake_spec.rb Add rake command to migrate archived traces from local storage to object storage 2018-08-16 14:28:47 +00:00
workhorse_rake_spec.rb Properly set the expectation on the main object 2017-08-09 01:43:33 +08:00