mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-14 07:19:27 +00:00
fix polling script
This commit is contained in:
parent
073dc7c408
commit
aebe3a4262
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -325,10 +325,13 @@ jobs:
|
||||
-n default \
|
||||
-o jsonpath='{.items[0].status.phase}' 2>/dev/null)
|
||||
echo "Pod phase: ${phase:-not yet created}"
|
||||
[[ "$phase" == "Running" ]] && break
|
||||
if [[ "$phase" == "Running" ]]; then break; fi
|
||||
sleep 10
|
||||
done
|
||||
[[ "$phase" == "Running" ]] || { echo "Timed out waiting for pod to reach Running state"; exit 1; }
|
||||
if [[ "$phase" != "Running" ]]; then
|
||||
echo "Timed out waiting for pod to reach Running state"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Stream test logs
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user