Skip to content

Inline scripts in build strategy steps #976

@adambkaplan

Description

@adambkaplan

Feature Request

Build strategy steps should support inline scripts, along the lines of Tekton's script instruction for task steps [1].
Most build strategies run more complex behavior by invoking bash as the base command, with args that inline a script via a heredoc.
Ex - the results step of our buildpacks strategy [2].

This should probably require a SHIP for full discussion.

[1] https://tekton.dev/docs/pipelines/tasks/#running-scripts-within-steps
[2] https://github.com/shipwright-io/build/blob/main/samples/buildstrategy/kaniko/buildstrategy_kaniko_cr.yaml#L53-L64

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.ship-required

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions