Add a smoke test script

This commit is contained in:
Quentin
2020-11-29 17:03:08 +01:00
parent 07e87595f8
commit 3f18aa6f1d
3 changed files with 28 additions and 1 deletions
+5
View File
@@ -6,6 +6,11 @@ GARAGE_DEBUG="${REPO_FOLDER}/target/debug/"
GARAGE_RELEASE="${REPO_FOLDER}/target/release/"
PATH="${GARAGE_DEBUG}:${GARAGE_RELEASE}:$PATH"
until garage status 2>&1|grep -q Healthy ; do
echo "cluster starting..."
sleep 1
done
garage status \
| grep UNCONFIGURED \
| grep -Po '^[0-9a-f]+' \