Update common workflows functions, add readiness loop 63/14663/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 22 Oct 2024 09:35:17 +0000 (11:35 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 22 Oct 2024 09:49:10 +0000 (11:49 +0200)
commit4081185dae6573683fc617153955f32646430d60
tree6ffffd49971fd1f1b3437fcc717b348d8889525a
parentd8429855ba5142565879c6698cea3cfce0745f60
Update common workflows functions, add readiness loop

The function check_workflow_status was updated to use retries rather
than time. In addition, a new generic function was created to evaluate
the readiness of Kubernetes objects in a loop.

Change-Id: I7e7268ecb0809ebe8895720fbfbd1c39138fd87f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_lcm/odu_libs/workflows.py
osm_lcm/odu_workflows.py