Skip to content

ci(release): publish darwin/arm64 assets and document Apple Silicon - #66

Merged
fmenesesg merged 1 commit into
mainfrom
feat/macos-apple-silicon-release
Sep 25, 2026
Merged

fmenesesg merged 1 commit into
mainfrom
feat/macos-apple-silicon-release

Conversation

@fmenesesg

Copy link
Copy Markdown
Collaborator

Proposed change

Phase A of issue #65: publish native darwin/arm64 release archives for threescale-export, threescale-seed, and threescale-visualize, keep existing *-linux-amd64.tar.gz names byte-compatible, and document the macOS Apple Silicon workflow (including that the Red Hat toolbox image remains linux/amd64 under qemu/binfmt).

Phase B (--toolbox-platform) is out of scope for this PR.

Type of change

  • Bugfix (non-breaking)
  • New feature
  • Tests / CI
  • Documentation
  • Integration cross-repo (3scaleextract ↔ apishift)
  • Breaking change

RHCL checklist

  • Tests added or updated (go test ./... or mvn test / npm test) — no Go runtime changes; go test ./... still green; local cross-compile smoke for linux/amd64 + darwin/arm64
  • CI does not introduce -DskipTests without justification
  • No secrets in diff (tokens, kubeconfigs, OIDC secrets)
  • rhcl-ai docs updated if export/import contract changes — N/A
  • PR description and docs in English
  • Tested in local lab if applicable (seed → export → analyze) — N/A for packaging/docs slice

Test plan

PR A review checklist

  • *-linux-amd64.tar.gz names unchanged
  • *-darwin-arm64.tar.gz + .sha256 for all three CLIs in softprops files:
  • Release body keeps linux-amd64 as primary example; darwin-arm64 additive + emulation note
  • README OS/arch labels + Apple Silicon subsection + qemu/binfmt disclaimer
  • No Go runtime / --toolbox-platform changes (nothing under internal/)
  • Diff limited to .github/workflows/release.yml, README.md, CHANGELOG.md

Local verification run

  • Nested platform loop produces six CLI tarballs + six checksums (linux/amd64, darwin/arm64)
  • file shows Mach-O arm64 for darwin build and ELF x86-64 for linux build
  • Tarball payload entry remains plain threescale-export (no arch suffix inside)
  • go test ./... -count=1 passed
  • README/CHANGELOG do not document --toolbox-platform yet

Additional information

Made with Cursor

Extend release packaging so Apple Silicon users get native CLI archives
while keeping linux-amd64 names compatible; document qemu/binfmt needs
for the AMD64 toolbox image (Phase A of #65).

Co-authored-by: Cursor <cursoragent@cursor.com>
@fmenesesg
fmenesesg requested a review from pcastelo as a code owner September 25, 2026 20:36
@fmenesesg fmenesesg added the type:feature New feature or enhancement label Sep 25, 2026
@fmenesesg
fmenesesg merged commit 38c577a into main Sep 25, 2026
1 check passed
@fmenesesg
fmenesesg deleted the feat/macos-apple-silicon-release branch September 25, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New feature or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant