domain cutover: front doors + drone + per-run naming to ci.autonomic.zone
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
- acme-dns.nix: ONE dual-zone SAN cert (ci+*.ci.autonomic.zone AND ci+*.ci.commoninternet.net) via the same acmedns account — storage re-keyed by cc-ci-acme-storage-seed.service; handoff reads the new cert dir. Single secret pair => zero changes to the traefik reconciler. - dashboard/bridge/reports: dual Host rules during the bake window (bridge gets explicit parentheses so && does not shadow the dashboard on the new host). - drone abra app renamed to drone.ci.autonomic.zone (fresh DB supported: DRONE_USER_CREATE re-injects the sops bridge token); runner RPC + bootstrap-drone-oauth.sh follow. - harness: app_domain() issues *.ci.autonomic.zone run domains; RUN_APP_RE / stack-name regexes / docker-prune accept BOTH zones during the bake. Warm stacks deliberately stay on the legacy zone (data-warm volumes; post-bake migration). - URLs in bridge/dashboard defaults + recipe-report.py follow the new names.
This commit is contained in:
@@ -15,7 +15,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "runner")
|
||||
from harness import lifecycle # noqa: E402
|
||||
|
||||
HELPERS = os.path.join(os.path.dirname(__file__), "helpers.py")
|
||||
DOMAIN = "test-abc123.ci.commoninternet.net" # matches RUN_APP_RE
|
||||
DOMAIN = "test-abc123.ci.autonomic.zone" # matches RUN_APP_RE
|
||||
|
||||
|
||||
class HelperPool:
|
||||
|
||||
@@ -72,7 +72,8 @@ def UPGRADE_SECRET_PREP(ctx):
|
||||
import subprocess
|
||||
|
||||
# abra derives STACK_NAME from the domain by replacing dots with underscores
|
||||
# (e.g. gite-e1cb78.ci.commoninternet.net → gite-e1cb78_ci_commoninternet_net).
|
||||
# (e.g. gite-e1cb78.ci.autonomic.zone → gite-e1cb78_ci_autonomic_zone; legacy
|
||||
# *.ci.commoninternet.net run stacks are matched too during the bake window).
|
||||
stack_name = ctx.domain.replace(".", "_")
|
||||
docker_secret = f"{stack_name}_lfs_jwt_secret_v1"
|
||||
value = base64.urlsafe_b64encode(_os.urandom(32)).rstrip(b"=").decode()
|
||||
|
||||
Reference in New Issue
Block a user