Story (Required)
As a QE running tests on nightly builds, I want to save cloud budget as much as possible.
Background (Required)
We automatically trigger tests for new builds, one run per version of OpenShift. In some cases we create even 5 runs at the same time, each of them creating/using a fresh OpenShift cluster.
Even though test usually finish in 90 minutes, we keep clusters for couple of hours so that we have option to debug failed tests easily.
Approach (Required)
Remove a testing cluster immediately if all tests passed. Extent when section of uninstall-cluster task in pipelines acceptance-tests, upgrade-tests and cluster-upgrade-tests