ci tweaks
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
44171c884e
commit
5bf7925312
|
|
@ -99,7 +99,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- truenas/core-iscsi.yaml
|
||||
- truenas/core/13.0/core-iscsi.yaml
|
||||
- truenas/core/13.0/core-nfs.yaml
|
||||
# 80 char limit
|
||||
#- truenas/core-smb.yaml
|
||||
|
|
|
|||
|
|
@ -23,7 +23,20 @@ sudo -E ci/bin/launch-server.sh &
|
|||
SUDO_PID=$!
|
||||
|
||||
# wait for server to launch
|
||||
sleep 10
|
||||
#sleep 10
|
||||
|
||||
: ${CSI_ENDPOINT:=/tmp/csi-${CI_BUILD_KEY}.sock}
|
||||
iter=0
|
||||
max_iter=60
|
||||
while [ ! -f "${CSI_ENDPOINT}" ];do
|
||||
((++iter))
|
||||
echo "waiting for ${CSI_ENDPOINT} to appear"
|
||||
sleep 1
|
||||
if [[ $iter -gt $max_iter ]];then
|
||||
echo "${CSI_ENDPOINT} failed to appear"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
# launch csi-sanity
|
||||
sudo -E ci/bin/launch-csi-sanity.sh
|
||||
|
|
|
|||
Loading…
Reference in New Issue