Skip to content

Commit

Permalink
fix and check syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
porridge committed May 23, 2024
1 parent d0989a0 commit 5023f23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Run ShellCheck on GHA config
uses: saleor/shellcheck-gha@v0

- name: Prepare OCI metadata
id: meta
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -171,7 +174,7 @@ jobs:
while [[ -z $(kubectl -n "${ns}" get "${service}" -o jsonpath="{.status.loadBalancer.ingress}" 2>/dev/null) ]]; do
if [ "$attempt" -lt "10" ]; then
info "Waiting for ${service} to obtain endpoint ..."
attempt=((attempt+1))
attempt=$((attempt+1))
sleep 10
else
die "ERROR: Timeout waiting for ${service} to obtain endpoint!"
Expand Down

0 comments on commit 5023f23

Please sign in to comment.