We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1701ad4 commit 9b741c2Copy full SHA for 9b741c2
1 file changed
rootfs/etc/confd/templates/builder
@@ -140,12 +140,10 @@ kubectl --namespace=$POD_NAMESPACE create -f /etc/${SLUG_NAME}.yaml
140
#check for image creation or slug existence in S3EP
141
142
if [[ "$REMOTE_STORAGE" == "1" ]]; then
143
- $MC_PREFIX ls $PUSH_URL
144
- while [ "$?" == "1" ]
145
- do
146
- sleep 2
+ LS_CMD="$MC_PREFIX ls $PUSH_URL"
+ until $LS_CMD &> /dev/null; do
147
echo "no file"
148
+ sleep 2
149
done
150
else
151
while [ ! -f /apps/${SLUG_NAME}/slug.tgz ]
0 commit comments