ci: use arm runners when available#428
Conversation
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughBoth ChangesPlatform-Aware Docker Build Matrix
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/verifyimage.yml:
- Line 37: The "Install go-ftw" step currently hardcodes
ftw_2.1.0_linux_amd64.tar.gz; make the download architecture-aware by selecting
ftw_2.1.0_linux_arm64.tar.gz when running on ARM (e.g., when matrix.platforms
contains "arm" or using runner.arch/startsWith(matrix.platforms,'linux/arm'))
and ftw_2.1.0_linux_amd64.tar.gz otherwise. Update the step that constructs the
download URL (the "Install go-ftw" step and any variable like the tarball name
or URL) to use this conditional so ARM runners get ftw_2.1.0_linux_arm64.tar.gz
while x86 keeps ftw_2.1.0_linux_amd64.tar.gz.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 56e0c01d-07c5-46ed-a61e-45e82efb6d5d
📒 Files selected for processing (2)
.github/workflows/publish.yml.github/workflows/verifyimage.yml
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
what
why
Summary by CodeRabbit
Release Notes