feat: a release tag also builds the agent image; both images scanned, base pinned, Renovate added #10
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ai/mission-control!10
Loading…
Reference in a new issue
No description provided.
Delete branch "mc/d50e173f-a8c1-46a2-889f-e1c5b7e1bcc5"
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?
Summary
A release tag now produces both images the cluster needs:
code.olsen.cloud/ai/mission-control:<version>— already built byimage.yaml; unchanged apart from a new advisory Trivy step.code.olsen.cloud/ai/mission-control-agent:<version>and:latest— new.woodpecker/image-agent.yaml(tag only): builds the linux/x64 executable intodist/release(task release:agent-context), thenkaniko-buildwith that as context (repo: ai/mission-control-agent, absolute Dockerfile path).target: image,exit_code: 0(advisory) on both images; severity HIGH,CRITICAL, unfixed ignored.node:24-bookworm-slimpinned by index digest in both Dockerfiles (3FROMs).TARGETARCHfalls back todpkg --print-architecture, in case Kaniko does not set it (not verified either way)..woodpecker/renovate.yaml(cron/manual only) andrenovate.json(config:recommended,docker:pinDigests, node base image grouped).delivery-pathskill updated with theai/images and what it learned aboutkaniko-build(nobuild_args, overridablerepo/context/dockerfile).Architecture: amd64 only, the node's. Nothing in the cluster needs arm64; the laptop builds its own agent image with
task image:agent.Evidence
woodpecker-cli lint --strict .woodpecker: all six workflows valid.ci/ciplugin sources (kaniko-build,trivy,renovateentrypoints).Merge danger
image.yamlon main, which now also runs the advisory scan; the scan cannot fail the build. The Renovate workflow does nothing until Morten adds a cron.Known gaps
kaniko-buildhas nobuild_args, so the server'sCI_COMMIT_TAGbuild arg does not reach the Dockerfile (the executable reports the CLI package's version). Fix belongs inci/ci.Rollback
Revert this commit on Forgejo. Images already pushed stay in the registry (delete a tag in Forgejo Packages if needed). Reverting the digest pin only restores the floating
node:24-bookworm-slim.After rollout
Morten publishes a release; check
woodpecker-cli pipeline ls ai/mission-controlforimage,image-agent,image-smoke, then that both:<version>tags exist and the cluster can pull them.Reviewers
Security Engineer (secrets: only
forgejo_registry_authon the Kaniko steps,renovate_forgejo_tokenon Renovate; plugin permissions), SRE (build resource use).