fix: replace legacy speedtest container during StreamScope cutover
This commit is contained in:
parent
fafffe56c4
commit
45d4091051
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -1124,7 +1124,7 @@ os.chmod(env, 0o600)
|
|||
if rc != 0:
|
||||
_ssh(VPS_SSH, rollback, timeout=180)
|
||||
raise RuntimeError(f"StreamScope build preflight failed: {err[-500:]}")
|
||||
deploy = "cd /app-config/github/speedtest && docker compose up -d --remove-orphans"
|
||||
deploy = "cd /app-config/github/speedtest && (docker rm -f speedtest >/dev/null 2>&1 || true) && docker compose up -d --remove-orphans"
|
||||
rc, out, err = _ssh(VPS_SSH, deploy, timeout=180)
|
||||
if rc != 0:
|
||||
_ssh(VPS_SSH, rollback, timeout=180)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue