Geo Rake Tasks

Geo Rake Tasks

以下 Rake 任务适用于 .

您可以执行一些任务来调度 Git 内务处理,以从辅助节点中的下一个存储库同步开始:

这等效于在仓库上运行 .

全部安装

  1. sudo -u git -H bundle exec rake geo:git:housekeeping:incremental_repack RAILS_ENV=production

这等效于在仓库上运行 ,可以选择在 GitLab 中启用它时写入可达性位图索引.

全部安装

源安装

  1. sudo -u git -H bundle exec rake geo:git:housekeeping:full_repack RAILS_ENV=production

这等效于在仓库上运行 ,如果在 GitLab 中启用了此功能,则可以选择编写可达性位图索引.

源安装

  1. sudo -u git -H bundle exec rake geo:git:housekeeping:gc RAILS_ENV=production

Remove orphaned project registries

在某些情况下,您的项目注册表可能包含过时的记录,您可以使用 Rake 任务删除它们:

全部安装

源安装