CHEF-34747: Add macOS ARM64 (aarch64-darwin) Habitat plan - #185
Merged
Conversation
nikhil2611
marked this pull request as draft
June 29, 2026 12:22
- Add native macOS ARM64 build support for knife - Use clang/cmake for native compilation instead of gcc - Configure SSL certificates via core/cacerts for license verification - Support knife plugins (ec2, google, windows) via habitat bundle group - Add DYLD_LIBRARY_PATH for libarchive dynamic linking Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: nikhil2611 <ngupta@progress.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: nikhil2611 <ngupta@progress.com>
- Add habitat-build.yml workflow for macos-14 (ARM64) builds - Add test.darwin.sh for macOS-specific testing without hab supervisor - Workflow triggers on PR and push to main branch Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: nikhil2611 <ngupta@progress.com>
nikhil2611
force-pushed
the
nikhil/CHEF-34747-macos-arm-build
branch
from
July 20, 2026 13:11
c4f0178 to
3125e2b
Compare
…#189) * Add darwin (macOS aarch64) to Habitat release CI pipeline Add aarch64-darwin as a build target in .bldr.toml and update the Buildkite pre-command hook to support macOS workers by retrieving HAB_AUTH_TOKEN from Vault instead of AWS SSM when the build label indicates a macOS/darwin platform. Changes: - .bldr.toml: Add new file with build_targets including aarch64-darwin - .buildkite/hooks/pre-command: Detect macOS build labels and use vault-util-init + Vault KV to fetch the Habitat auth token, falling back to the existing AWS SSM path for Linux/Windows workers Signed-off-by: Sachin Jain <Sachin.jain@chef.io> * CHEF-34748: fix final newline for CI check Signed-off-by: Sachin Jain <Sachin.jain@chef.io> --------- Signed-off-by: Sachin Jain <Sachin.jain@chef.io> Co-authored-by: Sachin Jain <Sachin.jain@chef.io> Signed-off-by: nikhil2611 <ngupta@progress.com>
- Replace blocking approach with approval-based workflow guard - Add workflow_guard environment requirement for workflow changes - Update workflow-change-guard.yml to match cookstyle pattern - Remove unnecessary pull-requests permission from habitat-build.yml - Workflow changes on pull_request_target now require manual approval Signed-off-by: nikhil2611 <ngupta@progress.com>
nikhil2611
force-pushed
the
nikhil/CHEF-34747-macos-arm-build
branch
from
July 20, 2026 14:05
ed5d97e to
56edd70
Compare
nikhil2611
marked this pull request as ready for review
July 20, 2026 14:08
Contributor
Author
ashiqueps
approved these changes
Jul 20, 2026
sanghinitin
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add native macOS ARM64 (aarch64-darwin) Habitat build support for knife.
Related Jira Ticket
CHEF-34747
Changes Made
habitat/aarch64-darwin/plan.shfor native macOS ARM64 buildscore/cacertsfor license verificationTesting Performed
HAB_FEAT_NATIVE_PACKAGE_SUPPORT=1 hab pkg build --native-packageknife ssl checkworksknife bootstrapworks (SSL cert verification fixed)habitat/tests/test.shis compatible with macOSBuild Command