-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improve e2e tests to always cleanup resources in cluster #2584
Comments
Maybe we could use a pattern for testing namespaces (now the naming is totally free) and during the test preparation, we can run the deletion to ensure that all resources are cleaned before the start (or with additional step during the workflow, ofc). |
Testing namespaces are good for me, but I'd prefer to clean things up at the end rather than the beginning to follow the boyscout rule - Clean up before you leave |
I'll take care about this ASAP. In the context of this I'll rename the environment variables also adding a prefix with the cloud provider ( |
Note to my self: review also azure-queue |
Improve e2e tests to always cleanup resources in cluster, even if it was cancelled.
As per the docs, this should be possible to use a
job
with conditionif: always()
.This avoids a bad starting point for next test runs if the previous one failed or was cancelled.
The text was updated successfully, but these errors were encountered: