From ce733a9b309476420fda0836679ee8a6c304bf77 Mon Sep 17 00:00:00 2001 From: Isabella Basso do Amaral Date: Thu, 27 Jun 2024 17:03:03 -0300 Subject: [PATCH] GHA: wait for MR DB to be available Signed-off-by: Isabella Basso do Amaral --- .github/workflows/build-image-pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-image-pr.yml b/.github/workflows/build-image-pr.yml index c06c0af2..4a0e41ce 100644 --- a/.github/workflows/build-image-pr.yml +++ b/.github/workflows/build-image-pr.yml @@ -54,6 +54,7 @@ jobs: kubectl get mr - name: Wait for Test Registry Deployment run: | + kubectl wait --for=condition=Available=true deployment/model-registry-db --timeout=5m kubectl wait --for=condition=Available=true modelregistries/modelregistry-sample --timeout=5m - name: Set up Python uses: actions/setup-python@v5