[build] system/metallb: multiarch support - #970
Conversation
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
WalkthroughThe Makefile for MetalLB was updated to enhance the Docker build commands for the Changes
Possibly related PRs
Suggested labels
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 30th. To opt out, configure 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
packages/system/metallb/Makefile (1)
19-20: Ensure variables for multi-arch support are defined or documented.
The addition of--builder=$(BUILDER)and--platform=$(PLATFORM)is essential for multi-architecture builds. Please confirm thatBUILDERandPLATFORMhave sensible defaults (either in this Makefile or incommon-envs.mk) and are documented for consumers.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
packages/system/metallb/Makefile(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Build and Test
🔇 Additional comments (2)
packages/system/metallb/Makefile (2)
28-28: Consistent labeling format applied.
Moving the--labelflag onto one line with the trailing backslash aligns with the surrounding flags and improves readability.
29-29: Verify compatibility of--loadwith--push.
Specifying--load=$(LOAD)alongside--push=$(PUSH)can cause buildx to error in some versions. Please verify that your build environment supports both flags simultaneously, or consider conditional logic to pass only one.
Add support for metallb multiarch build.
Part of #519 and a follow-up to PR #945 (issue #909)
Summary by CodeRabbit