Make helm always wait
This ensures we run installations fully serially and not overload this small CI setup. Change-Id: I4f976c8589309253548409781702afa5a3fbd0c8
This commit is contained in:
parent
cfb5749b12
commit
d3b7025b85
@ -11,7 +11,7 @@
|
|||||||
chdir: "{{ zuul.project.src_dir }}"
|
chdir: "{{ zuul.project.src_dir }}"
|
||||||
|
|
||||||
- name: Install helm charts
|
- name: Install helm charts
|
||||||
command: "helm install {{ helm_release_name }} {{ helm_chart }}"
|
command: "helm install {{ helm_release_name }} {{ helm_chart }} --wait --wait-for-jobs"
|
||||||
vars:
|
vars:
|
||||||
helm_release_name: "{{ zj_item.key }}"
|
helm_release_name: "{{ zj_item.key }}"
|
||||||
helm_chart: "{{ zj_item.value }}"
|
helm_chart: "{{ zj_item.value }}"
|
||||||
@ -21,13 +21,6 @@
|
|||||||
args:
|
args:
|
||||||
chdir: "{{ zuul.project.src_dir }}"
|
chdir: "{{ zuul.project.src_dir }}"
|
||||||
|
|
||||||
- name: Wait for the deployments
|
|
||||||
command: kubectl wait --for=condition=Available --timeout=300s deployment --all
|
|
||||||
|
|
||||||
- name: Wait for the remaining resources
|
|
||||||
include_role:
|
|
||||||
name: wait-for-pods
|
|
||||||
|
|
||||||
- name: Check pod restarts after helm chart installations
|
- name: Check pod restarts after helm chart installations
|
||||||
include_role:
|
include_role:
|
||||||
name: check-pod-restarts
|
name: check-pod-restarts
|
||||||
|
Loading…
Reference in New Issue
Block a user