ci: drop OCI image build, keep binary publish only #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/remove-container-from-ci"
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
youtrack-cli is a standalone CLI, not a container; CI no longer builds or pushes an OCI image. The
build-oci-image.ymlworkflow is renamed topublish-binary.ymland stripped down to: cargo build the release binary on the runner, then upload it as a Generic Package at the existing URL (/api/packages/<owner>/generic/youtrack-cli/<tag>/youtrack-cli-linux-x86_64). Tag computation still goes throughoci-build/get-tags.nu, sovX.Y.Z+latestbehavior is unchanged.CLAUDE.md's workflow inventory is updated to match.
Out of scope (intentional)
oci-build/Dockerfile,compose.yml,compose.dev.yml, thejust build-docker/just build-docker-export/just check-dockerrecipes, and the dev container recipes are left in place. They are useful for matching CI's Rust toolchain locally and were not in scope for this change. If you want them gone too, that's a follow-up.Behavior change to flag
The previous OCI build produced a musl-static binary via the rust-builder-musl image. The new workflow runs
cargo build --release --lockeddirectly on the opensuse runner, so the published binary is glibc-linked against the runner's glibc. That is portable to most modern Linux distros but not to alpine or to systems with significantly older glibc than the runner. If the milestone-2 installer needs to support those, reintroduce a musl target on the release path (eitherrustup target add x86_64-unknown-linux-musl+ a musl C linker on the runner, or a one-off Docker step kept just for the release).Test plan
Checkworkflow stays green on this PR (unchanged).Publish binaryruns on push to main and producesyoutrack-cli-linux-x86_64athttps://dev.a8n.run/api/packages/pandoras-box/generic/youtrack-cli/latest/youtrack-cli-linux-x86_64.youtrack-cli --versionreports the expected git hash and build date.release/vX.Y.ZPR to confirm theCreate releaseworkflow still tags + releases as before.