armada/armada
Sean Eagan a9d55ab052 Clean up and refactor wait logic
This patchset changes the wait logic as follows:

- Move wait logic to own module
- Add framework for waiting on arbitrary resource types
- Unify pod and job wait logic using above framework
- Pass resource_version to k8s watch API for cleaner event tracking
- Only sleep for `k8s_wait_attempt_sleep` when successes not met
- Update to use k8s apps_v1 API where applicable
- Allow passing kwargs to k8s APIs
- Logging cleanups

This is in preparation for adding wait logic for other types of resources
and new wait configurations.

Change-Id: I92e12fe5e0dc8e79c5dd5379799623cf3f471082
2018-09-25 12:48:25 -05:00
..
api Change chart `test` key to object and support cleanup flag 2018-06-27 10:47:02 -05:00
cli Fix for yapf v0.24.0 2018-09-11 20:39:25 +00:00
common Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
conf Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
exceptions Clean up and refactor wait logic 2018-09-25 12:48:25 -05:00
handlers Clean up and refactor wait logic 2018-09-25 12:48:25 -05:00
schemas Run helm tests by default 2018-07-17 09:18:39 -05:00
tests Fix for yapf v0.24.0 2018-09-11 20:39:25 +00:00
utils Validation refactor 2018-08-20 17:27:34 +00:00
__init__.py fix(init): remove duplicated version code 2018-05-28 05:52:58 -05:00
const.py Changing default timeout from 3600 to 900 seconds, when timeout is unspecified. 2018-07-02 13:27:18 -05:00
errors.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
shell.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
version.py Fix(linting): Make Armada pep8 compliant 2017-09-29 11:46:58 -04:00