From d3b7025b8503e0b23f1b069f570faf0e566396f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Mon, 8 Apr 2024 13:03:20 +0200 Subject: [PATCH] Make helm always wait This ensures we run installations fully serially and not overload this small CI setup. Change-Id: I4f976c8589309253548409781702afa5a3fbd0c8 --- playbooks/helm/run.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/playbooks/helm/run.yaml b/playbooks/helm/run.yaml index 1819237..5dbf0f6 100644 --- a/playbooks/helm/run.yaml +++ b/playbooks/helm/run.yaml @@ -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