Closed karlkfi closed 2 years ago
Note: I used https://www.conventionalcommits.org for the commit message so we can easily spot the breaking change later.
If desired, I can pull the task_test.go refactor out to its own PR. That would reduce the size of this PR and prove that the only real behavior changes are wait task related.
/assign @mortent
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: karlkfi, mortent
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Rebased to master to pull in #452
/hold
This overlaps with fixes needed to clean up Tech Debt from https://github.com/kubernetes-sigs/cli-utils/pull/451
Updating the Printer to accept WaitEvents is turning into a lot of work, which requires refactoring WaitTask and WaitEvent.
/unhold
https://github.com/kubernetes-sigs/cli-utils/pull/451 is merged
rebased
rebased
Tests are passing and unrelated changes have been pulled out to other PRs, which are now merged.
This is ready for review now.
/lgtm
BREAKING CHANGE: wait tasks always execute after apply/prune/delete (except dry runs) BREAKING CHANGE: wait tasks default to waiting until cancelled (previously 1m default)
fixes: https://github.com/kubernetes-sigs/cli-utils/issues/438