ops: keep production SSH sessions alive
This commit is contained in:
@@ -967,6 +967,7 @@ test("Gitea production deploy consumes only gate-attested digests under manual c
|
||||
assert.match(workflow, /bash '\$incoming\/deploy\/run-production-deploy\.sh'/);
|
||||
assert.match(workflow, /docker ps -aq[^\n]*com\.docker\.compose\.service=web/);
|
||||
assert.match(workflow, /state-present-without-container/);
|
||||
assert.match(workflow, /ServerAliveInterval=15.*ServerAliveCountMax=4/);
|
||||
assert.doesNotMatch(workflow, /then cat \"\\\$state\\\"/);
|
||||
assert.doesNotMatch(workflow, /docker compose[^\n]*build|db:migrate/);
|
||||
});
|
||||
@@ -1045,6 +1046,7 @@ test("Gitea production schema migration is exact-SHA gated and isolated from ETL
|
||||
assert.match(workflow, /run-production-migration\.sh/);
|
||||
assert.match(workflow, /docker ps -aq[^\n]*com\.docker\.compose\.service=web/);
|
||||
assert.match(workflow, /state-present-without-container/);
|
||||
assert.match(workflow, /ServerAliveInterval=15.*ServerAliveCountMax=4/);
|
||||
assert.doesNotMatch(workflow, /then cat "\\\$state\\"/);
|
||||
assert.doesNotMatch(workflow, /migrate-supabase-production|run-production-deploy|verification_mode|PRODUCTION_URL|CADDY/);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user