fix(configuration): require containers.image instead of a private-registry default (#2054)
applyContainerDefaults no longer fills containers.image with a hard-coded private-registry reference. An unset image now fails configuration validation with 'containers.image is required for autonomous workflow workers', so a fresh instance is told at startup (and via the readiness probe at runtime) instead of at the first failed container pull. Configs that relied on the default now set it explicitly: dev.toml (the local task image:agent build, which e2e also overlays), plus commented [containers] blocks in config.example.toml and standalone.toml. The deploy docs no longer describe a code-level default.
This commit is contained in:
7 files changed
+45
-17
No files matched your search
@@ -31,6 +31,14 @@ listen = "127.0.0.1:8484"
|
||||
mode = "embedded"
|
||||
url = ""
|
||||
|
||||
# Task containers run the agent image `task image:agent` builds locally
|
||||
# (docker-compose.yml tags it git.catlow.cloud/sam/archie-agent:latest), and
|
||||
# the "missing" pull policy never pulls over the local build. There is no
|
||||
# code-level default image: an unset containers.image fails validation at
|
||||
# startup.
|
||||
[containers]
|
||||
image = "git.catlow.cloud/sam/archie-agent:latest"
|
||||
|
||||
# `task dev` runs archie-state-store via dev:state-store, which passes no
|
||||
# -listen, so the listen below is the port the store binds. It must agree with
|
||||
# the target: these two lines are the only place that pair is stated. Move them
|
||||
|
||||
Reference in new issue
Block a user