Skip to content

Commit

Permalink
wait for ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdotcosta committed Apr 17, 2024
1 parent 8460842 commit d439838
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d439838

Please sign in to comment.