-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Open
Copy link
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Milestone
Description
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.
Add command line option to set runtime class on BuildRun objects (and potentially Build objects). Described in SHIP-0040.
Describe the solution that you would like.
Overview
This task implements CLI enhancements to support the runtimeClassName feature, allowing users to specify the runtime class when creating builds via the shp CLI.
Description
The shp CLI will be enhanced to add flags that set the runtimeClassName for a Build and/or BuildRun. For example, shp build run can have the following new options:
--runtime-class=<value>: this would set the respectivespec.runtimeClassNamevalue on the generatedBuildRun.
Acceptance Criteria
-
--runtime-classflag added toshp build run - Flag correctly sets
spec.runtimeClassNameon BuildRun - Help text updated to document the flag
- Unit tests verify flag functionality
Dependencies
- Blocked by: shipwright-io/build 2074 (API must exist first)
Technical Notes
- The flag should accept a string value corresponding to a Kubernetes RuntimeClass name
- The flag should be optional, allowing builds to run without specifying a runtime class
- Help text should explain what RuntimeClass is and provide examples
Describe alternatives you have considered.
n/a
Anything else?
Generated-by: Cursor
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Type
Projects
Status
No status