mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-12 14:29:39 +00:00
change script so it doesn't non-zero exit when no pods exist
This commit is contained in:
parent
ffde5e0fdc
commit
580a424086
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -326,7 +326,7 @@ jobs:
|
||||
phase=$(kubectl get pods \
|
||||
-l job-name=$NAMEPREFIX \
|
||||
-n default \
|
||||
-o jsonpath='{.items[0].status.phase}' 2>/dev/null)
|
||||
-o jsonpath='{range .items[*]}{.status.phase}{end}' 2>/dev/null)
|
||||
echo "Pod phase: ${phase:-not yet created}"
|
||||
if [[ "$phase" == "Running" ]]; then break; fi
|
||||
sleep 10
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user