Skip to content

Conversation

bogdannazarenko
Copy link
Contributor

Fixes: #9744
Related: N/A
Merge before/after: N/A

Description

Adding schema property network for buildpack image builds to specify custom container build network. See linked issue description and use case.

User facing changes (remove if N/A)

Addition property available to set on buildpack image build configurations.

@bogdannazarenko bogdannazarenko marked this pull request as ready for review March 5, 2025 17:32
@bogdannazarenko bogdannazarenko requested a review from a team as a code owner March 5, 2025 17:32
@bogdannazarenko bogdannazarenko force-pushed the buildpack-docker-network branch from b505750 to e2be8b7 Compare March 25, 2025 00:19
@bogdannazarenko bogdannazarenko force-pushed the buildpack-docker-network branch from e2be8b7 to 27840b2 Compare April 17, 2025 03:22
@bogdannazarenko bogdannazarenko force-pushed the buildpack-docker-network branch from 27840b2 to 1b289df Compare April 17, 2025 03:24
@bogdannazarenko
Copy link
Contributor Author

@Darien-Lin @katiexzhang @menahyouyeah I generate a new schema version and added by schema changes for the buildpack build Network property. Could one you you please check and trigger further tests? Thank you

@bogdannazarenko bogdannazarenko changed the title feat: schema addition to specify contianer build network for buildpack feat: new schema version with addition to specify contianer build network for buildpack Apr 17, 2025
@menahyouyeah
Copy link
Contributor

Would it be possible to split this into 2 commits - one with all the schema related changes and another with the logic changes to make it easier to review?

@menahyouyeah menahyouyeah self-assigned this Apr 28, 2025
// Volumes support mounting host volumes into the container.
Volumes []*BuildpackVolume `yaml:"volumes,omitempty"`

// Network is the network to use for the build.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding just the Network arg can you do something similar to #9696. Basically a BuildArgs []string or something along those lines so that in the future if people wanted to pass additional args there wouldn't need to be any additional logic or schema change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to Specify Build Network for Buildpack Image Builds
2 participants