Doc system test

Registry migrations

How the migration job prepares the database and the file bucket before the registry serves.

Meta block front matter of this doc
namespaces
  • durian.cloud/cyanprint/registry
type
algorithm
code
  • sulfone.zinc/App/StartUp/Migrator/DatabaseMigrator.cs
  • sulfone.zinc/App/StartUp/Migrator/BlockStorageMigrator.cs

The database migrator retries the connection, then applies EF Core migrations. The storage migrator can create the bucket and give it a public read policy.

Where it lives

  • sulfone.zinc/App/StartUp/Migrator/DatabaseMigrator.cs
  • sulfone.zinc/App/StartUp/Migrator/BlockStorageMigrator.cs

Stub: summary only.