4 Commits

Author SHA1 Message Date
okozachenko
4b390f2d40 Add the namespace in wait-for-pods role
Specify the namespace for waiting, so no need to change the context

Change-Id: I4b961bdc8c740e20d6b72200f0161d2f5c5c2c19
2020-05-29 17:40:31 +03:00
okozachenko
cd221999d5 Add DaemonSet check for wait-for-pods role
To wait for pods are up which are managed by daemonset controller
as well as statefulsets controller.
This works even if there are not such controllers.

Change-Id: Ib88a9023db6aac151bce71a2bb4ffbcea570e4f5
2020-05-19 17:00:09 +03:00
Albin Vass
d0e2016592 Add loop var policy to ansible-lint
This adds a custom ansible-lint rule at .rules/ZuulJobsNamespaceLoopVar.py
that enforces the loop var policy described at:
https://zuul-ci.org/docs/zuul-jobs/policy.html#ansible-loops-in-roles

It also updates existing roles to follow the policy.

Change-Id: I92b2ff56a1c2702542fc07b316f1809087a4c92f
2020-04-29 17:20:59 +02:00
Mohammed Naser
44608e16e7 wait-for-pods: Wait for all pods to become Ready
This refactors the code inside helm-template which waits for all
pods to become Ready to move inside it's own seperate role instead
which can be used for other tasks.

Change-Id: Ibb234c46c49fe656cf918a7a4af115e0d26f23f0
2020-03-14 14:14:43 -04:00