fix(staging): await public release identity
This commit is contained in:
@@ -644,7 +644,10 @@ test("remote deployment verifies running image IDs, RepoDigests, and application
|
||||
assert.match(runner, /"\$\{docker_command\[@\]\}" image inspect --format '\{\{\.Id\}\}' "\$expected_ref"/);
|
||||
assert.match(runner, /RepoDigests/);
|
||||
assert.match(runner, /grep -Fqx "\$expected_ref"/);
|
||||
assert.match(runner, /publicBody\.deployment\?\.gitCommit !== process\.env\.EXPECTED_SHA/);
|
||||
assert.match(runner, /for \(let attempt = 1; attempt <= 12; attempt \+= 1\)/);
|
||||
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, /mv -f "\$revision_file" "\$state_directory\/deployed-revision"/);
|
||||
assert.match(runner, /restoring prior application images/);
|
||||
assert.match(
|
||||
@@ -771,9 +774,9 @@ 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\"/);
|
||||
assert.match(runner, /adminPage\.status !== 307/);
|
||||
assert.match(runner, /adminPage\.headers\.get\("location"\) !== "\/login"/);
|
||||
assert.match(runner, /adminApi\.status !== 401/);
|
||||
assert.match(runner, /adminPage\.status === 307/);
|
||||
assert.match(runner, /adminPage\.headers\.get\("location"\) === "\/login"/);
|
||||
assert.match(runner, /adminApi\.status === 401/);
|
||||
});
|
||||
|
||||
test("staging runs the rectification V4 worker from the immutable web image", () => {
|
||||
|
||||
Reference in New Issue
Block a user