deploy: Arbiter and Scribe build without a console too
Both dropped their consoles in Atrium#53 (Arbiter b61abaa), so their builds pass no `frontend` context; the missing directory failed the whole build. compose_checks exempts them with Lexicon (CONSOLELESS). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-12
@@ -527,9 +527,7 @@ services:
|
||||
profiles: ["arbiter"]
|
||||
build:
|
||||
context: ${MODULES_DIR:-./modules}/arbiter/apps/arbiter/backend
|
||||
# The module's console ships in its image (its Dockerfile: COPY --from=frontend).
|
||||
additional_contexts:
|
||||
frontend: ${MODULES_DIR:-./modules}/arbiter/apps/arbiter/frontend
|
||||
# No console (Atrium#53): the chat is its only screen, so no `frontend` context.
|
||||
secrets: [dredd_core_token]
|
||||
image: dredd-family/arbiter-backend:local
|
||||
# `required: false` for Insider's reason: a missing env_file breaks the whole PROJECT, and the
|
||||
@@ -556,9 +554,7 @@ services:
|
||||
profiles: ["arbiter"]
|
||||
build:
|
||||
context: ${MODULES_DIR:-./modules}/arbiter/apps/arbiter/backend
|
||||
# The module's console ships in its image (its Dockerfile: COPY --from=frontend).
|
||||
additional_contexts:
|
||||
frontend: ${MODULES_DIR:-./modules}/arbiter/apps/arbiter/frontend
|
||||
# No console (Atrium#53): the chat is its only screen, so no `frontend` context.
|
||||
secrets: [dredd_core_token]
|
||||
image: dredd-family/arbiter-backend:local
|
||||
env_file:
|
||||
@@ -825,9 +821,7 @@ services:
|
||||
profiles: ["scribe"]
|
||||
build:
|
||||
context: ${MODULES_DIR:-./modules}/scribe/backend
|
||||
# The module's console ships in its image (its Dockerfile: COPY --from=frontend).
|
||||
additional_contexts:
|
||||
frontend: ${MODULES_DIR:-./modules}/scribe/frontend
|
||||
# No console (Atrium#53): the chat is its only screen, so no `frontend` context.
|
||||
secrets: [dredd_core_token]
|
||||
image: dredd-family/scribe-backend:local
|
||||
# `required: false` for Insider's reason: a missing env_file breaks the whole PROJECT, and the
|
||||
@@ -853,9 +847,7 @@ services:
|
||||
profiles: ["scribe"]
|
||||
build:
|
||||
context: ${MODULES_DIR:-./modules}/scribe/backend
|
||||
# The module's console ships in its image (its Dockerfile: COPY --from=frontend).
|
||||
additional_contexts:
|
||||
frontend: ${MODULES_DIR:-./modules}/scribe/frontend
|
||||
# No console (Atrium#53): the chat is its only screen, so no `frontend` context.
|
||||
secrets: [dredd_core_token]
|
||||
image: dredd-family/scribe-backend:local
|
||||
env_file:
|
||||
|
||||
@@ -187,8 +187,8 @@ def _front_door(services: dict, networks: dict, problems: list[str], *, tls: boo
|
||||
problems.append(f"{name}'s build has no `frontend` context: its image copies the console from it")
|
||||
|
||||
|
||||
# Modules whose image ships no console (Lexicon b2c998e, Atrium#53: the chat is its only screen).
|
||||
CONSOLELESS = frozenset({"lexicon"})
|
||||
# Modules whose image ships no console (Arbiter, Lexicon, Scribe since Atrium#53: the chat is their only screen).
|
||||
CONSOLELESS = frozenset({"arbiter", "lexicon", "scribe"})
|
||||
|
||||
|
||||
def _tls(services: dict, networks: dict, problems: list[str]) -> None:
|
||||
|
||||
Reference in New Issue
Block a user