This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# WOPI office, OIDC-dependent). Sibling of lasuite-docs (same La Suite / impress lineage).
|
||||
#
|
||||
# Stack: app(frontend SPA) + backend(Django/drive) + celery + celery-beat + db(postgres) + redis +
|
||||
# mailcatcher + minio(S3) + minio-createbuckets(one-shot) + collabora(WOPI office). ~10 services →
|
||||
# mailcatcher + rustfs(S3) + collabora(WOPI office). ~10 services →
|
||||
# generous timeouts.
|
||||
#
|
||||
# Health: the React SPA is served at `/` by the `app` service and returns 200 unauthenticated
|
||||
@@ -11,7 +11,7 @@ HEALTH_PATH = "/"
|
||||
HEALTH_OK = (200, 301, 302)
|
||||
# This is the heaviest stack in the Phase-2 set: 12 services incl. BOTH office backends
|
||||
# (collabora/code ~1GB + onlyoffice/documentserver ~2GB) plus impress front/backend, postgres,
|
||||
# minio, redis, nginx. Cold image pull + onlyoffice's multi-minute internal boot exceed the
|
||||
# rustfs, redis, nginx. Cold image pull + onlyoffice's multi-minute internal boot exceed the
|
||||
# default abra TIMEOUT (300s) and even 900s, so allow a wide window (abra TIMEOUT below stays
|
||||
# under DEPLOY_TIMEOUT so the Python subprocess never kills abra mid-wait).
|
||||
DEPLOY_TIMEOUT = 1800
|
||||
@@ -27,8 +27,8 @@ DEPS = ["keycloak"]
|
||||
# the orchestrator provisions the per-run realm on the live-warm keycloak BEFORE the single
|
||||
# `abra app deploy`, and tests/lasuite-drive/install_steps.sh writes the OIDC env + client secret
|
||||
# into the .env that one deploy reads. No post-deploy reconverge (the flaky 12-service collabora
|
||||
# WOPI race is structurally gone). The post-deploy MinIO bucket one-shot lives in ops.py
|
||||
# pre_install (the former post-deploy setup hook, moved here in P2b).
|
||||
# WOPI race is structurally gone). The backend initializes the RustFS media bucket at
|
||||
# startup; the custom S3 test verifies it.
|
||||
|
||||
|
||||
def READY_PROBE(ctx):
|
||||
@@ -43,16 +43,12 @@ def READY_PROBE(ctx):
|
||||
|
||||
|
||||
def EXTRA_ENV(ctx):
|
||||
# Two of lasuite-drive's services route on DOMAIN-DERIVED **nested** subdomains —
|
||||
# `MINIO_DOMAIN="minio.${DOMAIN}"` and `COLLABORA_DOMAIN="collabora.${DOMAIN}"`. The cc-ci
|
||||
# wildcard TLS cert is `*.ci.commoninternet.net` (single label only), so a 2-label name like
|
||||
# `minio.lasuite-drive-pr0-abc.ci.commoninternet.net` is NOT covered → TLS failure on those
|
||||
# routers. Flatten each to a single-label SIBLING under the wildcard (`minio-<domain>`,
|
||||
# `collabora-<domain>`) so the existing wildcard cert covers them and Traefik routes them with
|
||||
# no cert/gateway change. See DECISIONS.md "Phase 2 — nested DOMAIN-derived subdomains".
|
||||
# `AWS_S3_DOMAIN_REPLACE` derives from MINIO_DOMAIN in-compose, so setting MINIO_DOMAIN is enough.
|
||||
# Both the published base and PR head use a nested S3 hostname. Flatten
|
||||
# both names under the wildcard certificate: the base uses MINIO_DOMAIN,
|
||||
# while the current recipe uses RUSTFS_DOMAIN.
|
||||
return {
|
||||
"MINIO_DOMAIN": f"minio-{ctx.domain}",
|
||||
"RUSTFS_DOMAIN": f"rustfs-{ctx.domain}",
|
||||
"COLLABORA_DOMAIN": f"collabora-{ctx.domain}",
|
||||
# abra's internal per-deploy convergence timeout (recipe TIMEOUT env, default 300s) is too
|
||||
# short for this 12-service stack on a cold image cache (impress frontend/backend, minio,
|
||||
|
||||
Reference in New Issue
Block a user