feat(local): just rebuild recipe for targeted builds via remote buildx #87
Loading…
Reference in a new issue
No description provided.
Delete branch "just-rebuild-recipe"
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
Adds a local
just rebuildrecipe to (re)build specific versions of a single package on a given OS/arch, dispatching to a remote buildx builder (the build runs there, not locally).just rebuild <os> <tag> <arch> <package> <version>...→docker buildx build --builder <artemis|gaia> --platform linux/<arch> …(amd64→artemis, arm64→gaia; names +R_VERSIONenv-overridable).docker/build-one.Dockerfilerunsbuild-one.Ras a secret-mountedRUN, built--no-cache --output type=cacheonly(pure side-effect: the S3 upload; no image kept).local/build-one.Rauto-classifies each version via the ABI classifier (risky → per-minor slotcontrib/<x.y>/, else generic), force-rebuilds + uploads + stores metadata, then refreshes the touched slot'sPACKAGESindex.Prerequisites
artemis(amd64) andgaia(arm64) registered (docker buildx create --name artemis ssh://…).B2_S3_ACCESS_KEY,B2_S3_SECRET_KEY,PGPASS(GITHUB_PAToptional).v4.2.0tag must exist (the build installs@v4.2.0and uses its classifier + per-minor index API).