more explicit delete in ci-entrypoint#3213
Conversation
07940b1 to
61d31ac
Compare
sonasingh46
left a comment
There was a problem hiding this comment.
/lgtm
PS: Have also verified by pulling in the changes.
|
LGTM label has been added. DetailsGit tree hash: da2e2c61b01a123641ac65ab7115a5abac6d5ad4 |
|
/hold I might want to advocate for another add'l change to the cleanup foo |
61d31ac to
28d80bf
Compare
28d80bf to
459e1e4
Compare
459e1e4 to
34138ea
Compare
|
/lgtm |
|
@CecileRobertMichon: once the present PR merges, I will cherry-pick it on top of release-1.7 in a new PR and assign it to you. DetailsIn response to this:
Instructions 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/test-infra repository. |
|
LGTM label has been added. DetailsGit tree hash: c6123dc44250c8e14f434e096879aa278f26ca36 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon, mboersma The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
feel free to remove the hold when ready @jackfrancis |
|
/retest |
|
/retest |
|
:( /retest |
|
/hold I prefer that #3105 land first! |
|
/hold cancel |
|
/retest |
1 similar comment
|
/retest |
|
@CecileRobertMichon: new pull request created: #3235 DetailsIn response to this:
Instructions 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/test-infra repository. |
What type of PR is this?
/kind failing-test
What this PR does / why we need it:
This PR adds more explicit handling mgmt (kind) and workload cluster operations in ci-entrypoint.sh so that we can more reliably clean up after ourselves following runs. Specifically:
SKIP_CLEANUPvariable: we only skip the cleanup phase if it is explicitly set to the "true" value.KIND_CLUSTER_NAMEenvironment variable upstream and downstream of ci-entrypoint, so that can more explicitly track, target, and delete the management cluster.timeoutwrapping around thecluster deleteoperation, and display a message if the delete operation failscleanupfunc and instead include the two cleanup statements (delete workload cluster and delete management cluster) in the flow of the trappedon_exitfuncWhich issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: