Skip to content

[FEATURE] shp build upload: Flags for OCI Bundle method #354

@adambkaplan

Description

@adambkaplan

Is there an existing feature request for this?

  • I have searched the existing feature requests

Is your feature request related to a problem or use-case? Please describe.

Running local source builds with the "bundle" method currently requires the corresponding Build to use the OCI source type. This is onerous if developers want to use the bundle approach for uploading source code, but do not want to change their build definition if is used in other contexts (ex: a CI job).

Describe the solution that you would like.

Add a flag to shp build upload that makes it easy to switch between the local stream method and the OCI bundle method:

shp build upload --method=oci-bundle .
shp build upload --method=local-stream . (default)

Describe alternatives you have considered.

Status quo.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions