-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup cluster resources when test fails #503
Conversation
I tested this out (using Docker for Desktop) and it didn't seem to clean up the cluster-wide resources when I interrupted the test with Ctrl+C or when I added a Also, looks like the build test is failing because of gosimple:
|
Hm, I just tested again, and the cleanup worked when I put a |
Fixes tektoncd#495 Signed-off-by: Dibyo Mukherjee <[email protected]>
The cleanup should work Ctrl + C as well due to Just tried this out on my local environment (linux machines, cluster is GKE) and the test cleaned up fine |
Ok. Yeah, not sure why the Ctrl+C isn't working for me, but at least it cleans up when the test fails. So, this PR definitely addresses the issue 👍 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ncskier The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-tekton-triggers-build-tests |
Fixes #495
Signed-off-by: Dibyo Mukherjee [email protected]
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes