fix: require migration database source
This commit is contained in:
@@ -735,6 +735,7 @@ test("v03 render keeps node identity as data instead of generated structure", as
|
||||
Object.keys(externalPostgresMigrationConfig?.data ?? {}).filter((name) => name.endsWith(".sql")),
|
||||
CLOUD_CORE_MIGRATIONS.map((migration) => path.basename(migration.path))
|
||||
);
|
||||
assert.match(externalPostgresMigrationConfig?.data?.["run.mjs"] ?? "", /DATABASE_URL is required/u);
|
||||
assert.equal(externalPostgresMigrationConfig?.metadata?.annotations?.["argocd.argoproj.io/sync-wave"], "-2");
|
||||
assert.equal(externalPostgresMigrationJob?.metadata?.annotations?.["argocd.argoproj.io/sync-wave"], "-1");
|
||||
assert.equal(
|
||||
|
||||
Reference in New Issue
Block a user