enable imagelist argument for image build script - #95
Merged
Conversation
…le docker image instead of whole service
Rui Gao (hippogr)
temporarily deployed
to
auto-test
October 14, 2025 06:21 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for an -imagelist argument to the pai-build script, enabling selective building of specific Docker images within a service instead of building all images in the service. This allows developers to build only the images they need, improving build efficiency and reducing unnecessary build time.
- Added
-i/--imagelistcommand-line argument to specify which images to build - Modified the build pipeline to pass the imagelist filter through the build components
- Updated the build logic to conditionally build only specified images when the filter is provided
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| build/pai_build.py | Added imagelist argument parser and passed args to BuildCenter |
| build/core/build_center.py | Modified constructor to accept arg_config and pass imagelist to build handler |
| build/core/build_handler.py | Added imagelist parameter to build_single_component with conditional image building |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Rui Gao (hippogr)
temporarily deployed
to
auto-test
October 14, 2025 06:22 — with
GitHub Actions
Inactive
Contributor
|
can |
26 tasks
zhogu
reviewed
Nov 5, 2025
zhogu
approved these changes
Nov 7, 2025
Rui Gao (hippogr)
temporarily deployed
to
auto-test
November 7, 2025 05:45 — with
GitHub Actions
Inactive
Rui Gao (hippogr)
had a problem deploying
to
auto-test
November 7, 2025 05:45 — with
GitHub Actions
Failure
Rui Gao (hippogr)
temporarily deployed
to
auto-test
November 7, 2025 05:46 — with
GitHub Actions
Inactive
Yuting Jiang (yukirora)
approved these changes
Nov 7, 2025
Rui Gao (hippogr)
temporarily deployed
to
auto-test
November 7, 2025 05:57 — with
GitHub Actions
Inactive
Rui Gao (hippogr)
temporarily deployed
to
auto-test
November 7, 2025 05:57 — with
GitHub Actions
Inactive
Rui Gao (hippogr)
temporarily deployed
to
auto-test
November 7, 2025 05:57 — with
GitHub Actions
Inactive
25 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is used to add -imagelist argument for pai-build script when building the docker image. With this argument, we can build a single docker image in a service without building the whole service. For example:
to build log-manager-cleaner but not build log-manager-nginx