fasterci / rules_gitops

Apache License 2.0
25 stars 10 forks source link

cleanup test namespace #42

Closed apesternikov closed 3 months ago

apesternikov commented 3 months ago

kubectl failure in integration test setup script causes the script to exit prematurely so it_sidecar does not have a chance to perform the cleanup. This PR adds a trap that would be executed on exit of the script whether it normal exit or by error. This also make the cleanup part of the it_sidecar obsolete.