ci: migrate macOS jobs to tart VM runner#317
Draft
alee1246 wants to merge 3 commits into
Draft
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
The SystemInfo test asserted hw.model starts with "Mac", which holds on bare-metal Macs but not in the Apple Virtualization VMs the tart runners use (they report "VirtualMac<N>,<M>"). Since all macOS jobs now run in VMs, assert the "VirtualMac" prefix. Also remove the now-redundant "# Use tart VM ..." comments on the job tags. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
test-macos ran python via a pyenv shim, but pyenv is initialized only in ~/.zshrc, which the tart runner's non-interactive shell does not source, so "python" was not found. Put the pyenv shims on PATH in the job. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Migrate the macOS GitLab CI jobs (
build-macos,test-macos,package-macos) from dedicatedmacos:sonoma/specific:truerunners to virtualizedmacos:tartrunners, using the repo-specific tart VM image (dd-sdk-cpp-sonoma).VM image:
packer/macos-vm/team/dd-sdk-cpp-sonoma.pkr.hcl→486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/ci-platform-machine-images/tart-vm:dd-sdk-cpp-sonoma-latestMotivation
The virtualized tart runners have a number of benefits over dedicated macOS runners:
mac2.metalhostmac2.metalhosts → cost reduction from needing fewer instancesChanges
.gitlab-ci.ymlbuild-macos,test-macos, andpackage-macostags frommacos:sonoma/specific:truetomacos:tartand pin the repo-specific tart VM imageTest plan
build-macos,test-macos, andpackage-macospass on the tart runner🤖 Generated with Claude Code