-
Notifications
You must be signed in to change notification settings - Fork 1.3k
rework nodejs build, add deb13 #1911
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
Conversation
Summary of ChangesHello @loosebazooka, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly reworks the Node.js build process by refactoring existing build rules into dedicated Starlark functions within a new Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
fa1cd3d to
7f27e6f
Compare
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.
Code Review
This pull request refactors the Node.js image build logic into a new nodejs.bzl file, improving modularity and maintainability. It also adds support for debian13 as a preview distribution. The refactoring is well-executed. My review includes a few suggestions for cleaning up unused imports, variables, and commented-out code that were likely left over from the refactoring process. Addressing these will enhance the clarity and maintainability of the new build files.
7f27e6f to
940836b
Compare
| "nonroot", | ||
| ] | ||
| # NODEJS_ARCHITECTURES = ARCHITECTURES | ||
| # using node_arch for now, but we can probably get rid of that |
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.
Once we drop support for 20 and 22, we can drop node_arch in favor of BASE_ARCHITECTURES + ["s390x", "ppc64le"] (similar to ARCHITECTURES, just without arm)
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.
I think maybe we don't need a centralized ARCH var that every different package munges with. I'll try to clean that part up too in the future.
|
🌳 🔄 Image Check This pull request has modified the following images: //nodejs:nodejs20_root_amd64_debian13 (new)
//nodejs:nodejs20_nonroot_amd64_debian13 (new)
//nodejs:nodejs20_debug_root_amd64_debian13 (new)
//nodejs:nodejs20_debug_nonroot_amd64_debian13 (new)
//nodejs:nodejs20_root_arm64_debian13 (new)
//nodejs:nodejs20_nonroot_arm64_debian13 (new)
//nodejs:nodejs20_debug_root_arm64_debian13 (new)
//nodejs:nodejs20_debug_nonroot_arm64_debian13 (new)
//nodejs:nodejs20_root_arm_debian13 (new)
//nodejs:nodejs20_nonroot_arm_debian13 (new)
//nodejs:nodejs20_debug_root_arm_debian13 (new)
//nodejs:nodejs20_debug_nonroot_arm_debian13 (new)
//nodejs:nodejs20_root_s390x_debian13 (new)
//nodejs:nodejs20_nonroot_s390x_debian13 (new)
//nodejs:nodejs20_debug_root_s390x_debian13 (new)
//nodejs:nodejs20_debug_nonroot_s390x_debian13 (new)
//nodejs:nodejs20_root_ppc64le_debian13 (new)
//nodejs:nodejs20_nonroot_ppc64le_debian13 (new)
//nodejs:nodejs20_debug_root_ppc64le_debian13 (new)
//nodejs:nodejs20_debug_nonroot_ppc64le_debian13 (new)
//nodejs:nodejs22_root_amd64_debian13 (new)
//nodejs:nodejs22_nonroot_amd64_debian13 (new)
//nodejs:nodejs22_debug_root_amd64_debian13 (new)
//nodejs:nodejs22_debug_nonroot_amd64_debian13 (new)
//nodejs:nodejs22_root_arm64_debian13 (new)
//nodejs:nodejs22_nonroot_arm64_debian13 (new)
//nodejs:nodejs22_debug_root_arm64_debian13 (new)
//nodejs:nodejs22_debug_nonroot_arm64_debian13 (new)
//nodejs:nodejs22_root_arm_debian13 (new)
//nodejs:nodejs22_nonroot_arm_debian13 (new)
//nodejs:nodejs22_debug_root_arm_debian13 (new)
//nodejs:nodejs22_debug_nonroot_arm_debian13 (new)
//nodejs:nodejs22_root_s390x_debian13 (new)
//nodejs:nodejs22_nonroot_s390x_debian13 (new)
//nodejs:nodejs22_debug_root_s390x_debian13 (new)
//nodejs:nodejs22_debug_nonroot_s390x_debian13 (new)
//nodejs:nodejs22_root_ppc64le_debian13 (new)
//nodejs:nodejs22_nonroot_ppc64le_debian13 (new)
//nodejs:nodejs22_debug_root_ppc64le_debian13 (new)
//nodejs:nodejs22_debug_nonroot_ppc64le_debian13 (new)
//nodejs:nodejs24_root_amd64_debian13 (new)
//nodejs:nodejs24_nonroot_amd64_debian13 (new)
//nodejs:nodejs24_debug_root_amd64_debian13 (new)
//nodejs:nodejs24_debug_nonroot_amd64_debian13 (new)
//nodejs:nodejs24_root_arm64_debian13 (new)
//nodejs:nodejs24_nonroot_arm64_debian13 (new)
//nodejs:nodejs24_debug_root_arm64_debian13 (new)
//nodejs:nodejs24_debug_nonroot_arm64_debian13 (new)
//nodejs:nodejs24_root_s390x_debian13 (new)
//nodejs:nodejs24_nonroot_s390x_debian13 (new)
//nodejs:nodejs24_debug_root_s390x_debian13 (new)
//nodejs:nodejs24_debug_nonroot_s390x_debian13 (new)
//nodejs:nodejs24_root_ppc64le_debian13 (new)
//nodejs:nodejs24_nonroot_ppc64le_debian13 (new)
//nodejs:nodejs24_debug_root_ppc64le_debian13 (new)
//nodejs:nodejs24_debug_nonroot_ppc64le_debian13 (new)
//nodejs:nodejs20_root_debian13 (new)
//nodejs:nodejs20_nonroot_debian13 (new)
//nodejs:nodejs20_debug_root_debian13 (new)
//nodejs:nodejs20_debug_nonroot_debian13 (new)
//nodejs:nodejs22_root_debian13 (new)
//nodejs:nodejs22_nonroot_debian13 (new)
//nodejs:nodejs22_debug_root_debian13 (new)
//nodejs:nodejs22_debug_nonroot_debian13 (new)
//nodejs:nodejs24_root_debian13 (new)
//nodejs:nodejs24_nonroot_debian13 (new)
//nodejs:nodejs24_debug_root_debian13 (new)
//nodejs:nodejs24_debug_nonroot_debian13 (new)You can check the details in the report here |
940836b to
240dac5
Compare
Signed-off-by: Appu Goundan <[email protected]>
240dac5 to
e0a6a83
Compare
same as #1902 #1896 for nodejs