-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
Not Selected
-
-
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 respective spec.runtimeClassName value on the generated BuildRun.
Acceptance Criteria
- --runtime-class flag added to shp build run
- Flag correctly sets spec.runtimeClassName on 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
Related GitHub Issue
This issue corresponds to: shipwright-io/cli#363
Part of SHIP-0040: Build Runtime Class implementation. See SHIP-0040 for the full enhancement proposal.
- is blocked by
-
BUILD-1773 Provide RuntimeClass to Builds and BuildRuns
-
- Review
-