-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Rework build into reusable pieces #1896
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 initiates a significant refactoring of the project's build system, aiming to enhance modularity and reusability. The primary focus of this initial phase is on the Highlights
Ignored Files
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
|
28c0060 to
2c7b3c3
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 build process into reusable components, focusing on static, base, and cc images. It standardizes debug image naming and aims to organize the build for better maintainability. The changes involve moving definitions to separate .bzl files and adjusting image configurations.
2c7b3c3 to
1734fa4
Compare
|
🌳 🔄 Image Check This pull request has modified the following images: //base:base_debug_root_amd64_debian12
//base:base_debug_root_arm64_debian12
//base:base_debug_nonroot_amd64_debian12
//base:base_debug_root_arm64_debian12
//base:base_debug_root_amd64_debian12
//base:base_debug_root_arm_debian12
//base:base_debug_nonroot_s390x_debian12
//base:base_debug_nonroot_arm64_debian12
//base:base_debug_root_s390x_debian12
//base:base_debug_root_ppc64le_debian12
//base:base_debug_nonroot_ppc64le_debian12
//base:base_debug_nonroot_ppc64le_debian12
//base:base_debug_root_arm_debian12
//base:base_debug_nonroot_arm_debian12
//base:base_debug_nonroot_amd64_debian12
//base:base_debug_root_s390x_debian12
//base:base_debug_nonroot_s390x_debian13
//base:base_debug_nonroot_arm64_debian13
//base:base_debug_nonroot_arm64_debian12
//base:base_debug_nonroot_arm_debian12
//base:base_nossl_debug_nonroot_amd64_debian12
//base:base_debug_root_ppc64le_debian12
//base:base_nossl_debug_root_arm64_debian12
//base:base_debug_root_amd64_debian13
//base:base_debug_nonroot_amd64_debian13
//base:base_debug_root_arm64_debian13
//base:base_debug_nonroot_s390x_debian12
//base:base_nossl_debug_nonroot_arm_debian12
//base:base_debug_root_arm_debian13
//base:base_nossl_debug_root_arm_debian12
//base:base_nossl_debug_nonroot_arm64_debian12
//base:base_nossl_debug_nonroot_ppc64le_debian12
//base:base_nossl_debug_nonroot_amd64_debian12
//base:base_nossl_debug_root_ppc64le_debian12
//base:base_nossl_debug_nonroot_arm_debian12
//base:base_nossl_debug_root_ppc64le_debian12
//base:base_debug_nonroot_arm_debian13
//base:base_nossl_debug_nonroot_arm64_debian12
//base:base_nossl_debug_root_amd64_debian12
//base:base_nossl_debug_root_arm_debian12
//base:base_nossl_debug_nonroot_amd64_debian13
//base:base_nossl_debug_root_s390x_debian13
//base:base_nossl_debug_root_amd64_debian13
//base:base_nossl_debug_root_ppc64le_debian13
//base:base_nossl_debug_nonroot_ppc64le_debian13
//base:base_nossl_debug_nonroot_arm_debian13
//base:base_nossl_debug_root_arm64_debian12
//base:base_debug_root_ppc64le_debian13
//base:base_nossl_debug_nonroot_ppc64le_debian12
//cc:cc_debug_root_amd64_debian12
//base:base_debug_nonroot_ppc64le_debian13
//base:base_nossl_debug_nonroot_s390x_debian12
//base:base_nossl_debug_nonroot_s390x_debian12
//base:base_nossl_debug_root_s390x_debian12
//base:base_nossl_debug_nonroot_arm64_debian13
//cc:cc_debug_nonroot_amd64_debian12
//cc:cc_debug_nonroot_amd64_debian12
//cc:cc_debug_root_arm64_debian12
//cc:cc_debug_nonroot_arm64_debian12
//cc:cc_debug_nonroot_arm64_debian12
//cc:cc_debug_root_s390x_debian12
//base:base_nossl_debug_root_amd64_debian12
//cc:cc_debug_nonroot_arm_debian12
//cc:cc_debug_root_arm_debian12
//base:base_nossl_debug_root_arm64_debian13
//cc:cc_debug_root_ppc64le_debian12
//cc:cc_debug_root_ppc64le_debian12
//cc:cc_debug_root_amd64_debian12
//cc:cc_debug_nonroot_s390x_debian12
//cc:cc_debug_root_arm_debian13
//base:base_nossl_debug_root_arm_debian13
//base:base_debug_root_s390x_debian13
//cc:cc_debug_root_arm64_debian13
//cc:cc_debug_nonroot_ppc64le_debian12
//cc:cc_debug_root_amd64_debian13
//cc:cc_debug_nonroot_ppc64le_debian12
//python3:debug_nonroot_amd64_debian12
//python3:debug_root_amd64_debian12
//cc:cc_debug_nonroot_arm_debian12
//cc:cc_debug_root_arm_debian12
//cc:cc_debug_nonroot_amd64_debian13
//cc:cc_debug_nonroot_s390x_debian12
//cc:cc_debug_nonroot_s390x_debian13
//cc:cc_debug_nonroot_arm_debian13
//python3:debug_root_arm64_debian12
//base:base_nossl_debug_root_s390x_debian12
//python3:debug_nonroot_arm64_debian12
//cc:cc_debug_root_arm64_debian12
//cc:cc_debug_nonroot_ppc64le_debian13
//cc:cc_debug_nonroot_arm64_debian13
//cc:cc_debug_root_s390x_debian13
//python3:debug_nonroot_amd64_debian12
//base:base_nossl_debug_nonroot_s390x_debian13
//python3:debug_nonroot_arm64_debian12
//nodejs:nodejs20_debug_nonroot_arm64_debian12
//nodejs:nodejs20_debug_root_arm64_debian12
//nodejs:nodejs20_debug_nonroot_arm64_debian12
//nodejs:nodejs20_debug_root_arm64_debian12
//nodejs:nodejs20_debug_root_amd64_debian12
//cc:cc_debug_root_ppc64le_debian13
//nodejs:nodejs20_debug_nonroot_s390x_debian12
//nodejs:nodejs20_debug_nonroot_arm_debian12
//nodejs:nodejs20_debug_root_s390x_debian12
//nodejs:nodejs20_debug_nonroot_arm_debian12
//nodejs:nodejs20_debug_root_arm_debian12
//nodejs:nodejs20_debug_nonroot_ppc64le_debian12
//nodejs:nodejs20_debug_root_arm_debian12
//nodejs:nodejs22_debug_root_amd64_debian12
//nodejs:nodejs20_debug_root_amd64_debian12
//nodejs:nodejs22_debug_nonroot_arm64_debian12
//nodejs:nodejs20_debug_root_ppc64le_debian12
//nodejs:nodejs22_debug_nonroot_arm64_debian12
//nodejs:nodejs22_debug_root_amd64_debian12
//nodejs:nodejs22_debug_root_arm_debian12
//cc:cc_debug_root_s390x_debian12
//nodejs:nodejs20_debug_nonroot_s390x_debian12
//nodejs:nodejs22_debug_nonroot_arm_debian12
//nodejs:nodejs22_debug_root_arm_debian12
//nodejs:nodejs22_debug_root_arm64_debian12
//python3:debug_root_arm64_debian12
//nodejs:nodejs20_debug_nonroot_amd64_debian12
//nodejs:nodejs22_debug_nonroot_arm_debian12
//nodejs:nodejs20_debug_nonroot_ppc64le_debian12
//nodejs:nodejs22_debug_root_s390x_debian12
//nodejs:nodejs20_debug_nonroot_amd64_debian12
//nodejs:nodejs22_debug_root_s390x_debian12
//nodejs:nodejs22_debug_nonroot_s390x_debian12
//nodejs:nodejs22_debug_nonroot_ppc64le_debian12
//nodejs:nodejs24_debug_nonroot_amd64_debian12
//nodejs:nodejs22_debug_root_arm64_debian12
//nodejs:nodejs24_debug_nonroot_arm64_debian12
//nodejs:nodejs24_debug_root_amd64_debian12
//nodejs:nodejs22_debug_nonroot_amd64_debian12
//nodejs:nodejs20_debug_root_s390x_debian12
//nodejs:nodejs24_debug_root_s390x_debian12
//nodejs:nodejs20_debug_root_ppc64le_debian12
//nodejs:nodejs24_debug_root_arm64_debian12
//python3:debug_root_amd64_debian12
//nodejs:nodejs22_debug_root_ppc64le_debian12
//nodejs:nodejs24_debug_root_amd64_debian12
//nodejs:nodejs22_debug_nonroot_ppc64le_debian12
//nodejs:nodejs22_debug_nonroot_s390x_debian12
//nodejs:nodejs24_debug_root_s390x_debian12
//nodejs:nodejs24_debug_root_ppc64le_debian12
//nodejs:nodejs22_debug_root_ppc64le_debian12
//nodejs:nodejs24_debug_nonroot_ppc64le_debian12
//nodejs:nodejs24_debug_nonroot_amd64_debian12
//nodejs:nodejs24_debug_nonroot_s390x_debian12
//java:java_base_debug_nonroot_ppc64le_debian12
//java:java_base_debug_root_ppc64le_debian12
//java:java_base_debug_root_s390x_debian12
//java:java_base_debug_root_amd64_debian12
//java:java_base_debug_root_amd64_debian12
//nodejs:nodejs24_debug_nonroot_ppc64le_debian12
//nodejs:nodejs24_debug_nonroot_s390x_debian12
//java:java_base_debug_nonroot_s390x_debian12
//java:java_base_debug_nonroot_arm64_debian12
//java:java_base_debug_nonroot_amd64_debian12
//nodejs:nodejs24_debug_nonroot_arm64_debian12
//java:java_base_debug_nonroot_amd64_debian12
//java:java_base_debug_root_arm64_debian12
//nodejs:nodejs24_debug_root_ppc64le_debian12
//nodejs:nodejs22_debug_nonroot_amd64_debian12
//nodejs:nodejs24_debug_root_arm64_debian12
//java:java17_debug_nonroot_amd64_debian12
//java:java21_debug_root_amd64_debian12
//java:java17_debug_nonroot_ppc64le_debian12
//java:java21_debug_root_ppc64le_debian12
//java:java17_debug_root_ppc64le_debian12
//java:java21_debug_root_s390x_debian12
//java:java21_debug_nonroot_ppc64le_debian12
//java:java17_debug_nonroot_s390x_debian12
//java:java25_debug_root_amd64_debian13
//java:java21_debug_nonroot_arm64_debian12
//java:java25_debug_nonroot_ppc64le_debian13
//java:java25_debug_root_ppc64le_debian13
//java:java17_debug_root_s390x_debian12
//java:java17_debug_nonroot_amd64_debian12
//java:java17_debug_root_amd64_debian12
//java:java25_debug_nonroot_s390x_debian13
//java:java25_debug_root_s390x_debian13
//java:java25_debug_root_arm64_debian13
//java:java21_debug_nonroot_amd64_debian12
//java:java17_debug_root_amd64_debian12
//java:java17_debug_nonroot_arm64_debian12
//java:java25_debug_nonroot_amd64_debian13
//java:java21_debug_nonroot_s390x_debian12
//java:java25_debug_nonroot_arm64_debian13
//java:java21_debug_root_arm64_debian12
//java:java17_debug_root_arm64_debian12You can check the details in the report here |
|
oh it's the order of busybox because we build base_debug off static_debug now (so we only see diffs in debug images) |
1734fa4 to
6a0ef78
Compare
- only static, base and cc - standardize the debug image target naming (no change to tags) (//image:image_debug instead of //image:debug) Signed-off-by: Appu Goundan <[email protected]>
6a0ef78 to
944673f
Compare
//image:image_debuginstead of//image:debug)Summary
First step at organizing the build into reusable parts. Still need to rework java, node, python.
It might even make sense to pull out the deb list from each and push that through the defs in the BUILD, but this should be a decent start.