fix: abra app upgrade -o (offline) — was 401'ing fetching tags from the private mirror origin
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-27 08:31:40 +01:00
parent a2f3b14745
commit 4d5f7e25c6

View File

@ -101,9 +101,10 @@ def upgrade(domain: str, version: Optional[str] = None, timeout: int = 900) -> N
args = ["app", "upgrade", domain]
if version:
args.append(version)
# -f no prompt, -D skip public-DNS checks (our per-run domains route via the gateway).
# (upgrade has no --chaos flag.)
args += ["-f", "-D", "-n"]
# -f no prompt, -D skip public-DNS checks (our per-run domains route via the gateway), -o offline
# (use local tags — incl. the upstream tags fetched at clone — and DON'T fetch from the private
# mirror origin, which 401s). upgrade has no --chaos flag.
args += ["-f", "-D", "-n", "-o"]
_run(args, timeout=timeout)