7 Commits
Author SHA1 Message Date
fristy 6cacaf221c fix(ci): survive expired github download urls
build / build (26.04) (pull_request) Successful in 3m36s
build / build (24.04) (pull_request) Successful in 3m39s
build / build (26.10) (pull_request) Successful in 3m44s
GitHub answers a release asset download with HTTP 618 (jwt:expired) once the signed URL has expired, and the build layer dies on it. Two runs in a row lost build (24.04) on gh_2.106.0_linux_amd64.tar.gz while the same file downloaded fine in a sibling job of the same run.

Wrap curl in /usr/local/bin with retries and a no-cache request header, which covers the Dockerfile downloads and installer scripts such as cargo-zigbuild-installer.sh. Pull request builds also read the buildcache-<base> registry cache that release.yaml writes on every main push, so a cache hit skips the downloads.

Signed-off-by: fristyxd <gpg@fristy.dev>
2026-12-01 13:36:29 +03:00
fristy 808ca2f088 fix(ci): give the tag job a git identity
build / build (24.04) (pull_request) Successful in 3m11s
build / build (26.10) (pull_request) Successful in 3m10s
build / build (26.04) (pull_request) Successful in 3m12s
git tag -a needs user.name and user.email, which the runner container does not have, so the tag job failed after every image had already been published.
2026-11-20 14:53:50 +03:00
fristy a7f9769a82 fix: upgrade base packages and npm to clear the image scan
build / build (26.04) (pull_request) Successful in 3m34s
build / build (26.10) (pull_request) Successful in 3m35s
build / build (24.04) (pull_request) Successful in 3m38s
apt-get upgrade keeps buildpack-deps from freezing linux-libc-dev at the
version the base image shipped with; five CRITICAL kernel CVEs in that
package alone failed the 24.04 publish. npm 11.21.3 replaces the undici
6.28.0 and brace-expansion 5.0.9 bundled with node 26.13.1, 12 HIGH
findings. The npm tree is copied back into the tool cache because the
in-place upgrade breaks its hardlink.

Release pipeline: each main build now cuts the next patch from the newest
v* tag, publishes v<semver>-ubuntu-<base> next to the moving ubuntu-<base>
tags, and only tags the commit after every base has published, so a failed
scan can no longer leave a half published version. The v0.0.0-dev.<sha>
fallback is gone.

Docs: README no longer pins tool versions that Renovate already tracks, and
the image tags, versioning and commit conventions are written down.
2026-11-20 14:35:30 +03:00
fristy 4ac07da223 chore: let Renovate merge its own updates
build / build (26.10) (pull_request) Successful in 3m4s
build / build (24.04) (pull_request) Successful in 3m4s
build / build (26.04) (pull_request) Successful in 3m4s
minor, patch, pin and digest updates automerge once the branch is green and the
release is two days old. major and breaking updates still wait for a human:
matchIsBreaking turns automerge back off, and majors are not in the automerge
rule at all.

trivy skips the release-age wait because scanner fixes matter immediately, and
OSV alerts automerge with no age check either.

tea now resolves through gitea-releases: github.com/gitea/tea does not exist, so
every run reported a lookup failure for it. nfpm moves to 2.49.0, which Renovate
would have held back for another day.

Signed-off-by: fristyxd <gpg@fristy.dev>
2026-11-12 12:42:23 +03:00
fristy 92e7b88152 fix: keep the Go checksum lookup working and bump pnpm
build / build (26.04) (pull_request) Successful in 3m20s
build / build (26.10) (pull_request) Successful in 3m19s
build / build (24.04) (pull_request) Successful in 3m20s
The Go layer read the tarball checksum from go.dev/dl/?mode=json, which only
lists the current releases. Once 1.27.4 shipped, the pinned 1.27.3 was gone
from that list, jq returned nothing and sha256sum aborted the build on all
three bases. include=all keeps older pins verifiable.

pnpm moves to 12.18.0, which corepack was already downloading at build time.
The other pins stay as they are: Renovate bumps them now that it can see them.

Signed-off-by: fristyxd <gpg@fristy.dev>
2026-11-12 12:04:40 +03:00
fristy ec7f685b0c fix: track the pinned tool versions with Renovate
build / build (26.10) (pull_request) Failing after 57s
build / build (24.04) (pull_request) Failing after 58s
build / build (26.04) (pull_request) Failing after 1m3s
config:recommended never enabled customManagers:dockerfileVersions, so the
Dockerfile manager only reported the base image. The # renovate: annotations
above the *_VERSION ARGs were never read, which is why no update PR ever
appeared.

Go switches to the golang-version datasource: the go datasource is for modules
and rejects golang/go. zig has no datasource at all, so its annotation is gone
instead of staying silently broken.

The tool group rule now matches the regex manager too, so those updates still
land as one PR.

Signed-off-by: fristyxd <gpg@fristy.dev>
2026-11-12 11:57:31 +03:00
fristy 213bb98753 feat: runner images for Ubuntu 24.04, 26.04 and 26.10
release / meta (push) Successful in 1s
release / publish (26.04, ubuntu-26.04) (push) Canceled after 15s
release / publish (26.10, ubuntu-26.10,ubuntu-latest) (push) Canceled after 16s
release / publish (24.04, ubuntu-24.04) (push) Canceled after 16s
Images built on buildpack-deps with every tool our workflows used to download on each run baked in: node 26 (installed into RUNNER_TOOL_CACHE so setup-node never calls the GitHub API), pnpm, corepack, python3, docker CLI with buildx and compose, git with lfs, jq, yq, tea, go, rust with the musl target, cargo-zigbuild, zig, gh, trivy and nfpm.

Adds the pull-request build with smoke tests, the release workflow that publishes ubuntu-24.04 / ubuntu-26.04 / ubuntu-26.10 plus the ubuntu-latest alias, Renovate annotations for every pinned version, and the docs: README, CHANGELOG (Keep a Changelog 1.1.0), SECURITY with the security@fristy.dev PGP key, CONTRIBUTING (Conventional Branch, SemVer), CODE_OF_CONDUCT and MIT LICENSE.
2026-10-31 15:06:55 +03:00