Skip to content

Commit

Permalink
Implement wait.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdotcosta committed Apr 17, 2024
1 parent 7face22 commit 3166078
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ jobs:
fi
kind-test-podman-rootless-linux:
name: Test Kind Deployment using Podman rootless on Linux
name: Test Kind Deployment using Podman rootless on Linux - DOESN'T WORK :(
if: false
runs-on: ${{ matrix.os }}
env:
IngressHTTPPort: 30080
Expand All @@ -150,11 +151,10 @@ 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 --kubeconfig-tgt ./kube_config --kubeconfig-gen
- 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:$IngressPort
timeout: 60000
time: '30'
- name: Check that ingress is available
run: |
set +e
Expand Down Expand Up @@ -194,11 +194,10 @@ jobs:
chmod 755 kind
./kind/registry.sh install --registry-name kind-registry.local --provider podman
./kind/kind.sh install --registry-name kind-registry.local --provider podman --kubeconfig-tgt ./kube_config --kubeconfig-gen
- 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: 60000
time: '30'
- name: Check that ingress is available
run: |
set +e
Expand Down

0 comments on commit 3166078

Please sign in to comment.