chore: migrate semaphore pipelines to ARM (Graviton)#512
Conversation
- Update agent types: c5 → c6g (Graviton), t2 → t4g (Graviton) - Update uv binary: x86_64 → aarch64 - Update Go binary: linux-amd64 → linux-arm64 - Update Node.js binaries: linux-x64 → linux-arm64 - Update Amazon Corretto JDK path: linux-x64 → linux-aarch64 - Update other arch-specific tools to ARM equivalents
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
📝 WalkthroughWalkthroughUpdates Semaphore CI configuration files to change agent machine types from x86_64-based agents to newer ARM-based agents (s1-agent-t4g-micro and s1-agent-c6g-large), and replaces the UV toolchain architecture from x86_64-unknown-linux-gnu to aarch64-unknown-linux-gnu across deployment and build configurations. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Migrate Semaphore CI pipelines to use ARM-based (Graviton) agents and ARM binaries.
Agent Type Changes
s1-agent-c5-12xlarges1-agent-c6g-12xlarges1-agent-c5-9xlarges1-agent-c6g-8xlarges1-agent-c5-4xlarges1-agent-c6g-4xlarges1-agent-c5-xlarges1-agent-c6g-xlarges1-agent-c5-larges1-agent-c6g-larges1-agent-t2-micros1-agent-t4g-microBinary/Tool Changes
uv-x86_64-unknown-linux-gnuuv-aarch64-unknown-linux-gnugo1.19.3.linux-amd64go1.19.3.linux-arm64linux-x64linux-arm64linux-x64linux-aarch64openjdk-amd64openjdk-arm64linux_amd64linux_arm64linux-amd64linux-arm64Note
Medium Risk
CI/deploy infrastructure changes only, but switching agent architecture and
uvbinaries can break builds/deploys if any tooling or scripts assume x86_64.Overview
Migrates Semaphore build and deploy pipelines to ARM/Graviton agents by switching machine types (
t2→t4g,c5→c6g) across build, staging deploy, and production deploy configs.Updates staging/production deploy jobs to download and use the ARM
uvtarball (uv-aarch64-unknown-linux-gnu) instead of the x86_64 build while keeping the same S3 upload and CloudFront invalidation steps.Written by Cursor Bugbot for commit dbba105. This will update automatically on new commits. Configure here.
Summary by CodeRabbit
SNE-51978