From 37b251dd9951f410fb8f45390d34b3880d7093b2 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Fri, 6 Jan 2023 09:28:11 +0100 Subject: [PATCH] Wait for postgres and Dendrite --- .github/workflows/k8s.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/k8s.yml b/.github/workflows/k8s.yml index 67b5ee4d2..fc5e8c906 100644 --- a/.github/workflows/k8s.yml +++ b/.github/workflows/k8s.yml @@ -77,9 +77,10 @@ jobs: - name: Install chart run: | helm install --values helm/dendrite/ci/ct-postgres-sharedsecret-values.yaml dendrite helm/dendrite - - name: Wait for Dendrite to be up + - name: Wait for Postgres and Dendrite to be up run: | - kubectl wait --for=condition=ready --timeout=90s pod -l app.kubernetes.io/name=dendrite + kubectl wait --for=condition=ready --timeout=90s pod -l app.kubernetes.io/name=postgresql || kubectl get pods -A + kubectl wait --for=condition=ready --timeout=90s pod -l app.kubernetes.io/name=dendrite || kubectl get pods -A kubectl get pods -A kubectl get services kubectl get ingress