From d439838a39b0d85e92cb34d3e065e816e9dea3a2 Mon Sep 17 00:00:00 2001 From: Antonio Costa Date: Wed, 17 Apr 2024 14:20:34 +0200 Subject: [PATCH] wait for ingress --- .github/workflows/pr.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 600b43ba..ca79d710 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -56,11 +56,15 @@ jobs: chmod 755 kind ./kind/registry.sh install --registry-name kind-registry.local ./kind/kind.sh install --registry-name kind-registry.local - - name: Wait for ingress to be available - uses: iFaxity/wait-on-action@v1 + - name: Wait before checking if ingress available + uses: GuillaumeFalourd/wait-sleep-action@v1 with: - resource: http://localhost:$IngressHTTPPort - timeout: 300000 + time: '300' # for 60 seconds + # - name: Wait for ingress to be available + # uses: iFaxity/wait-on-action@v1 + # with: + # resource: http://localhost:$IngressHTTPPort + # timeout: 300000 - name: Check that ingress is available run: | set +e @@ -135,10 +139,6 @@ jobs: chmod 755 kind ./kind/registry.sh install --registry-name kind-registry.local --provider podman --rootless ./kind/kind.sh install --registry-name kind-registry.local --provider podman --rootless - # - name: Wait before checking if ingress available - # uses: GuillaumeFalourd/wait-sleep-action@v1 - # with: - # time: '60' # for 60 seconds - name: Wait for ingress to be available uses: iFaxity/wait-on-action@v1 with: