Skip to content

Deprecate spec.builder in the Build API #935

Open
@adambkaplan

Description

@adambkaplan

The Build API includes a spec.builder field, which lets users specify the "builder image" for a particular build strategy.
This field was initially added to support build strategies like source-to-image, which can feed in a base image to use for the build.

There are few build strategies that operate like this - Cloud Native Buildpacks might be the closest to using this approach, however our current strategies for buildpacks rely on separate strategies per build pack provider. Moreover, with the Parameters feature we can do away with this specialized API object and use more general-purpose parameters to inject the builder image. For example, the source-to-image build strategies can declare a BUILDER_IMAGE parameter that must be provided in a Build or BuildRun.

/kind feature

/kind cleanup

Metadata

Metadata

Assignees

No one assigned

    Labels

    betaBETA related issuekind/api-changeCategorizes issue or PR as related to adding, removing, or otherwise changing an APIkind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.kind/featureCategorizes issue or PR as related to a new feature.ship-required

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions