File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -610,6 +610,10 @@ jobs:
610610 xargs '-I{}' kubectl get pod '{}' -n snyk-monitor -o 'jsonpath={..containers[*].image}' | \
611611 awk '{print $1}' | grep -oE "[0-9]{1}\.[0-9]{1,2}\.[0-9]{1,3}$")
612612
613+ if [[ -z "${VERSION}" ]]; then
614+ VERSION="0.0.0"
615+ fi
616+
613617 # Break out of the polling if the tag matches the one we want to upgrade to.
614618 if [[ "${VERSION}" == "${LATEST_TAG}" ]]; then
615619 break
Original file line number Diff line number Diff line change @@ -185,6 +185,10 @@ steps:
185185 xargs '-I{}' kubectl get pod '{}' -n snyk-monitor -o 'jsonpath={..containers[*].image}' | \
186186 awk '{print $1}' | grep -oE "[0-9]{1}\.[0-9]{1,2}\.[0-9]{1,3}$")
187187
188+ if [[ -z "${VERSION}" ]]; then
189+ VERSION="0.0.0"
190+ fi
191+
188192 # Break out of the polling if the tag matches the one we want to upgrade to.
189193 if [[ "${VERSION}" == "${LATEST_TAG}" ]]; then
190194 break
You can’t perform that action at this time.
0 commit comments