-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Demo Scripts (make demo) for Apple Silicon (M4) Compatibility and Python 3 #94
base: master
Are you sure you want to change the base?
Update Demo Scripts (make demo) for Apple Silicon (M4) Compatibility and Python 3 #94
Conversation
Welcome @kahirokunn! |
Hi @kahirokunn. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
make demo
Script for M4 MacBook CompatibilityThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Welcome and thanks for the contribution! I left a couple of comments, most of them are style/nits except the one about downloading the coredns binary instead of building it which I am concerned about but apart from that this looks great thanks again!
/ok-to-test
4ed8934
to
977e345
Compare
e2920a9
to
360da88
Compare
/retest-required |
I am currently re-testing the functionality. I will provide an update once it is completed. |
b6d9ddc
to
f7f55b1
Compare
I've tested this and confirmed it works once this PR is merged. |
- Resolve absolute script paths to ensure consistency. - Introduce platform detection for multi-arch coredns binary download. - Replace tar download with git clone for coredns due to 'make' dependency. Signed-off-by: kahirokunn <[email protected]>
Signed-off-by: kahirokunn <[email protected]>
Co-authored-by: Arthur Outhenin-Chalandre <[email protected]>
db6d9d1
to
79b4cf3
Compare
Testing has been completed successfully. 👍 |
@MrFreezeex I think I'm falling down with an error in an unrelated area, what do you think I should do? |
- Switch to using a Docker container for consistent coreDNS build across platforms. - Avoid manual architecture detection and platform-specific binary handling. Signed-off-by: kahirokunn <[email protected]>
79b4cf3
to
d439c09
Compare
It's all been passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again!
/lgtm
cc @skitt for approval 🙏
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kahirokunn, MrFreezeex The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this! I have a few suggestions for improvements, if you don’t mind.
Also, could you rebase your commits to avoid having separate “Apply suggestions from review” commits? |
New changes are detected. LGTM label has been removed. |
- Switch to using `realpath` for resolving script paths - Use more concise variable definitions for paths
7def7f2
to
120ae9d
Compare
@skitt |
This pull request updates the “make demo” workflow to ensure that it runs properly on Apple Silicon (M4) machines.
• Switched from Python to Python 3 in the demo script (edit-meta).
• Used absolute paths to address environment-related issues in demo.sh.
• Added architecture detection in scripts/up.sh for a multi-arch CoreDNS build.
• Replaced the tar-based CoreDNS download with an equivalent git clone step to support “make” on M4.
All of these modifications aim to maintain backward compatibility while extending usability to Apple Silicon (M4) hardware. Testing locally shows that “make demo” now works as expected on M4 MacBooks. Please review and let me know if further changes are required. Thank you!