armada/armada/cli
Sean Eagan c31a961bf1 Automate deletion of test pods
When running helm tests for a chart release multiple times in a site,
if the previous test pod is not deleted, then the test pod creation
can fail due to a name conflict. Armada/helm support immediate test pod
cleanup, but using this means that upon test failure, the test pod logs will
not be available for debugging purposes. Due to this, the recommended approach
for deleting test pods in Armada has been using `upgrade.pre.delete` actions.
So chart authors can accomplish test pod deletion using this
feature, however, it often takes awhile, usually not until they test upgrading
the chart for chart authors to realize that this is necessary and to get it
implemented.

This patchset automates deletion of test pods directly before running tests by
using the `wait.labels` field in the chart doc when they exist to find all pods
in the release and then using their annotations to determine if they are test
pods and deleting them if so.

A later patchset is planned to implement defaulting of the wait labels when
they are not defined.

Change-Id: I2092f448acb88b5ade3b31b397f9c874c0061668
2019-01-28 13:19:09 -06:00
..
__init__.py bugfix(cli): Remove redundant oslo_log register_options calls 2018-06-01 12:11:38 -05:00
apply.py Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
delete.py Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
rollback.py Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
test.py Automate deletion of test pods 2019-01-28 13:19:09 -06:00
tiller.py Fix the description about `armada tiller --status` 2018-12-10 09:31:42 +08:00
validate.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00