fix(staging): refresh dual-host edge verification
This commit is contained in:
@@ -648,6 +648,10 @@ test("remote deployment verifies running image IDs, RepoDigests, and application
|
||||
assert.match(runner, /publicBody\.deployment\?\.gitCommit === process\.env\.EXPECTED_SHA/);
|
||||
assert.match(runner, /staging verification predicates did not converge/);
|
||||
assert.match(runner, /publicSha: publicBody\.deployment\?\.gitCommit \?\? "missing"/);
|
||||
assert.match(runner, /up -d --no-build --force-recreate --no-deps caddy/);
|
||||
assert.match(runner, /userAdminPage\.status === 404/);
|
||||
assert.match(runner, /userAdminApi\.status === 404/);
|
||||
assert.match(runner, /fetch\(`\$\{process\.env\.ADMIN_USER_ORIGIN\}\/admin`/);
|
||||
assert.match(runner, /mv -f "\$revision_file" "\$state_directory\/deployed-revision"/);
|
||||
assert.match(runner, /restoring prior application images/);
|
||||
assert.match(
|
||||
@@ -774,6 +778,11 @@ test("normal deployment checks migrations but never applies them", () => {
|
||||
assert.doesNotMatch(runner, /npm\s+run\s+db:migrate(?!:check)/);
|
||||
assert.doesNotMatch(runner, /pull api web postgres/);
|
||||
assert.match(runner, /verify_container_image rectification-v4-worker \"\$WEB_IMAGE\"/);
|
||||
assertOrder(runner, [
|
||||
"up -d --no-build --remove-orphans",
|
||||
"up -d --no-build --force-recreate --no-deps caddy",
|
||||
"verify_container_image api",
|
||||
]);
|
||||
assert.match(runner, /adminPage\.status === 307/);
|
||||
assert.match(runner, /adminPage\.headers\.get\("location"\) === "\/login"/);
|
||||
assert.match(runner, /adminApi\.status === 401/);
|
||||
|
||||
Reference in New Issue
Block a user