Skip to content

release: publish signed darwin/arm64 mecated and mecatui archives #891

Closed

Description

@jhrozek

Context

The root vX.Y.Z release workflow currently publishes signed OCI images and the mecak8s Helm chart, but no host-native CLI archives. Homebrew needs an immutable versioned archive plus a SHA-256 checksum.

Scope

Extend the root-tag release process to publish one Darwin ARM64 archive containing mecated and mecatui:

mecatl_vX.Y.Z_darwin_arm64.tar.gz
mecatl_vX.Y.Z_darwin_arm64.tar.gz.sha256

Also sign the artifact or checksum with keyless Cosign, consistent with the existing release posture.

Acceptance criteria

  1. A root vX.Y.Z release produces a Darwin/ARM64 archive containing executable mecated and mecatui payloads.
  2. Both binaries report vX.Y.Z through their existing exact --version invocation.
  3. The release publishes a SHA-256 checksum for the archive.
  4. The binary artifact or its checksum has keyless Sigstore/Cosign verification material.
  5. The GitHub Release asset has an immutable versioned URL under https://github.com/stacklok/mecatl/releases/download/vX.Y.Z/.
  6. Existing OCI image and Helm-chart publication behavior remains unchanged.
  7. The publishing job receives only permissions needed to create/update GitHub Release assets; do not broaden unrelated release-job permissions.

Notes

  • Reuse github.com/stacklok/mecatl/internal/buildinfo.BuildID.
  • Initial support is Darwin ARM64 only.
  • Do not package mecak8s; OCI and Helm remain authoritative.
  • Establish an executable smoke test on native Apple Silicon CI if cross-compiled binaries cannot be executed by the release runner.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions