Merge "helm-template: allow users to disable wait-for-pods"

This commit is contained in:
Zuul 2020-04-21 21:55:31 +00:00 committed by Gerrit Code Review
commit 0275c60673
3 changed files with 9 additions and 1 deletions

View File

@ -11,6 +11,12 @@ already setup and the Helm executable is installed.
Directory of the Helm chart.
.. zuul:rolevar:: helm_wait_for_pods
:default: True
Determine if the role should wait for all pods to go up after it applies
the template.
.. zuul:rolevar:: zuul_work_dir
:default: {{ zuul.project.src_dir }}

View File

@ -1 +1,2 @@
helm_wait_for_pods: true
zuul_work_dir: "{{ zuul.project.src_dir }}"

View File

@ -18,4 +18,5 @@
- name: Wait for all pods to become Ready
include_role:
name: wait-for-pods
name: wait-for-pods
when: helm_wait_for_pods | bool