Fix Builds #29
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dark/nether-voicebridge#29
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?
We're compiling the same binary multiple times, needs fixes.
Fixed in
d301608and live-verified by tagv0.2.0-rc6.Cause: every
v*tag fired bothdocker.ymlandrelease.yml, and each ran a full coldcargo build --releaseof the same binary (~24 min/tag wasted).Fix: merged the two workflows into one
docker.yml. Theimagejob is the sole compile; a new tag-gatedpackagesjob (needs: [image]) pulls the just-pushed image,docker cps/app/nether-voicebridgeintotarget/release/, runs nfpm, and publishes the release — no second toolchain, no second compile.release.ymldeleted.Verification (rc6 run):
imagesucceeded, thenpackagesran in ~3.5 min (vs ~12 min for a compile) and attached real 38 MB.deb/.rpm. Master pushes run onlyimage(packages correctly skipped). The packaged binary is now byte-identical to the one in the image.Out of scope / follow-up: in-Docker build caching (cold ~12 min cargo-chef builds remain; registry cache 413s on the Cloudflare cap,
type=ghais the future option).