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:
Radosław Piliszek 2024-04-08 13:03:20 +02:00
parent cfb5749b12
commit d3b7025b85

View File

@ -11,7 +11,7 @@
chdir: "{{ zuul.project.src_dir }}"
- 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:
helm_release_name: "{{ zj_item.key }}"
helm_chart: "{{ zj_item.value }}"
@ -21,13 +21,6 @@
args:
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
include_role:
name: check-pod-restarts