Commit Graph

11 Commits

Author SHA1 Message Date
repo-worker b80361b788 generator: estimator-driven on-demand CI pipeline (estimate→order→provide→build→reap) (oleks/ci-scripts#25)
ci/woodpecker/cron/drift Pipeline was successful
Add generator/render_ondemand.py rendering a kind: ondemand pipeline whose
pre-step runs nix-estimate --json (asserts sizing.version==1), orders an
EphemeralBuilder class:ci via nix-estimate --provision ci | kubectl apply,
waits Ready, builds pinned via backend_options.kubernetes.nodeSelector
(Option B plain-worker), and reaps the CR (runs_on success+failure). Keeps
the GENERATED header + arch banner, no || true (reap uses --ignore-not-found).
Adds manifests/ondemand-release-amd64.yaml + rendered example; render is pure
and deterministic. render_thin_quartet skips kind: ondemand by design.
2026-07-12 20:41:32 +03:00
repo-worker 44d6ba9c8d Fix image_name inference bug + add tag normalization setting (oleks/ci-scripts#21, #22)
ci/woodpecker/tag/build-amd64 Pipeline failed
ci/woodpecker/tag/build-arm64 Pipeline was successful
ci/woodpecker/tag/manifest Pipeline failed
ci/woodpecker/cron/drift Pipeline was successful
render_thin_quartet.py's kind=matrix rendering derived image_name from the
manifest's repo field, which silently diverges from the actually-published
image for xonsh-image (repo "xonsh-image" vs. live image "oleks/xonsh",
confirmed via the package registry). image_name is now a required, explicit
manifest field with no inference; xonsh-image and csi-s3 manifests updated
with their verified values.

entrypoint.sh's buildx-build/buildx-manifest flows always used the raw
CI_COMMIT_TAG, with no way to reproduce ci/local.sh's leading-"v" /
trailing-"-N" tag stripping. Added resolve_version() with two additive,
default-preserving settings: `version` (explicit override, wins over
CI_COMMIT_TAG when set — a no-op today since nothing sets it) and
`tag_strip_v` (opt-in normalization). Default behavior is unchanged: raw
CI_COMMIT_TAG, matching this plugin's own v1.0.x self-build tags and every
other current consumer.

xonsh-image's manifest now opts into tag_strip_v to prove the fix (verified:
resolve_version("v0.22.7") -> "0.22.7", rendered tag "0.22.7-amd64" matches
the live-consumed scheme) but is NOT wired into its actual .woodpecker/ dir
yet — migration is a separate step once both fixes are released.

oleks/ci-scripts#20
2026-07-09 19:47:31 +03:00
repo-worker 38bb59e3d0 generator: thin-render single/split quartet kinds (oleks/ci-scripts#19)
Extend render_thin_quartet.py to render the 4 single/split quartet repos
(the-eye, emdash.kotkanagrilli.fi, flake-hub, woodpecker-peek) onto the
plugin's flow: publish shape, alongside the already-done matrix kind.
Behavior diffs vs each repo's current .woodpecker files posted on #19.
2026-07-09 19:21:56 +03:00
repo-worker d1f8297c46 Add thin-pipeline render PREP scripts for #16/#17 (not wired in, no repo pushes)
ci/woodpecker/cron/drift Pipeline was successful
2026-07-05 23:14:10 +03:00
repo-worker 815888219f style: auto-format from pre-push hooks 2026-07-04 19:37:01 +03:00
repo-worker 5e4eec041f Generator: split kind supports optional tag-trigger + setup-comment + publish-flag (oleks/ci-scripts#2) 2026-07-04 19:36:39 +03:00
repo-worker 9a3ddb8b96 style: auto-format from pre-push hooks 2026-07-04 19:30:21 +03:00
repo-worker db971954d6 Generator: explicit-clone matrix variant + raw header/comment fields for single kind (oleks/ci-scripts#2) 2026-07-04 19:30:12 +03:00
repo-worker 7fbf3431ad Generator: run manifest step on partial arch success (oleks/ci-scripts#9) 2026-07-04 19:21:45 +03:00
repo-worker ace3afa2b4 Fix ruff ambiguous-variable-name lint in render.py 2026-07-04 19:17:55 +03:00
repo-worker 4ab389d1eb Add shared clone step, constants doc, and buildx-quartet generator (#2, #3, #4) 2026-07-04 19:17:21 +03:00