ci tweaks

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2022-02-21 10:40:25 -07:00
parent 44171c884e
commit 5bf7925312
2 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -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