[nomad-step-4] S4-fix-2 — build disinto/agents:latest locally before deploy (no registry) #972
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#972
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Step 4 verification: agents alloc fails with
Failed to pull disinto/agents:latest — repository does not exist. The image is custom-built fromdocker/agents/Dockerfile, not in any registry.Design decision
Approach A chosen: build locally during init, matching current docker-compose
build:behavior.Fix
Add a build step to
bin/disinto's_disinto_init_nomadflow, after cluster-up but before deploy:Location:
bin/disinto, in_disinto_init_nomad, between the vault-import/seed section and the deploy section.Also add to
--dry-runoutput:[nomad] would build: disinto/agents:latest from docker/agents/Dockerfile.Why not a registry
Single-node factory dev box — no multi-node pull needed. Registry adds setup complexity (Forgejo container registry auth, push step). Can upgrade to approach B later when/if multi-node.
Acceptance criteria
disinto init --backend=nomad --import-env /tmp/.env --with forgejo,woodpecker,agents:docker images disinto/agentsshows the image before deploy starts.nomad alloc logs <agents>shows polling iterations.--dry-runmentions the build step.shellcheckclean.Labels / meta
backlog+bug-report.