Guard worker will check ongoing migrations
By pinging the Container Registry API. If the status returned is coeherent with an ongoing migration, the job will skip the migration. The migration is aborted otherwise.
显示
- app/models/container_repository.rb 7 个添加, 3 个删除app/models/container_repository.rb
- app/workers/container_registry/migration/guard_worker.rb 55 个添加, 1 个删除app/workers/container_registry/migration/guard_worker.rb
- lib/container_registry/gitlab_api_client.rb 4 个添加, 0 个删除lib/container_registry/gitlab_api_client.rb
- lib/container_registry/migration.rb 5 个添加, 0 个删除lib/container_registry/migration.rb
- spec/models/container_repository_spec.rb 10 个添加, 0 个删除spec/models/container_repository_spec.rb
- spec/workers/container_registry/migration/guard_worker_spec.rb 53 个添加, 6 个删除...workers/container_registry/migration/guard_worker_spec.rb
加载中
想要评论请 注册 或 登录