Add registry-database import command to gitlab-ctl
The command will allow gitlab-ctl to interact with the configured registry metadata database. It adds the subcommand `import` to to the `registry-database` to allow users to import existing filestystem metadata into the metadata database. For more details see https://gitlab.com/gitlab-org/container-registry/-/issues/1160. Changelog: added
parent
c2d1c9f5b20d
Showing
- files/gitlab-ctl-commands/lib/registry/import.rb 88 additions, 0 deletionsfiles/gitlab-ctl-commands/lib/registry/import.rb
- files/gitlab-ctl-commands/lib/registry/migrate.rb 1 addition, 1 deletionfiles/gitlab-ctl-commands/lib/registry/migrate.rb
- files/gitlab-ctl-commands/lib/registry/registry_database.rb 42 additions, 16 deletionsfiles/gitlab-ctl-commands/lib/registry/registry_database.rb
- spec/chef/gitlab-ctl-commands/lib/registry/import_spec.rb 33 additions, 0 deletionsspec/chef/gitlab-ctl-commands/lib/registry/import_spec.rb
- spec/chef/gitlab-ctl-commands/lib/registry/registry_database_spec.rb 7 additions, 0 deletions...itlab-ctl-commands/lib/registry/registry_database_spec.rb
Please register or sign in to comment