feat(cmd): add 'update' subcommand for build resources - #414
feat(cmd): add 'update' subcommand for build resources#414mohit-bhandari45 wants to merge 4 commits into
Conversation
Signed-off-by: mohit-bhandari45 <mohitbhandari852@gmail.com>
Signed-off-by: mohit-bhandari45 <mohitbhandari852@gmail.com>
Signed-off-by: mohit-bhandari45 <mohitbhandari852@gmail.com>
Signed-off-by: mohit-bhandari45 <mohitbhandari852@gmail.com>
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@kaizakin Please do request a review, once you get time. |
Changes
Introduced the missing
updatesubcommand forbuildresource manager (shp build update):shp build update <name> [flags]: Allows updating existingBuildobject specifications (e.g.--source-git-url,--source-git-revision,--output-image,--strategy-name,--source-context-dir,--dockerfile,--builder-image, etc.) directly from the CLI.Flags().Changed(...)to only modify specified fields without overwriting un-flagged spec fields.Build 'xyz' not found in namespace 'default'.error message.pkg/shp/cmd/build/update_test.gocovering success andNotFoundcases (100% passing).Related Issue
Fixes #411
Type of PR
/kind feature
Submitter Checklist
Release Notes