aboutsummaryrefslogtreecommitdiff
path: root/script/dev-configure.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-10-19 16:16:10 +0200
committerAlex Auvolat <alex@adnab.me>2021-10-19 23:39:45 +0200
commita8ae78af0ad2174480e64f9d4dd43b8381932f42 (patch)
treeb8b5c71a231f938af633be8502c78e7193f9f6ab /script/dev-configure.sh
parent65070f3c05775f6692f4a16b6a304991d0510301 (diff)
downloadgarage-a8ae78af0ad2174480e64f9d4dd43b8381932f42.tar.gz
garage-a8ae78af0ad2174480e64f9d4dd43b8381932f42.zip
Adapt tests to new syntax with public keys
Diffstat (limited to 'script/dev-configure.sh')
-rwxr-xr-xscript/dev-configure.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/dev-configure.sh b/script/dev-configure.sh
index fdae959b..72fb67ea 100755
--- a/script/dev-configure.sh
+++ b/script/dev-configure.sh
@@ -11,7 +11,7 @@ PATH="${GARAGE_DEBUG}:${GARAGE_RELEASE}:${NIX_RELEASE}:$PATH"
sleep 5
RETRY=120
-until garage status 2>&1|grep -q Healthy ; do
+until garage -c /tmp/config.1.toml status 2>&1|grep -q Healthy ; do
(( RETRY-- ))
if (( RETRY <= 0 )); then
echo "garage did not start in time, failing."
@@ -21,10 +21,10 @@ until garage status 2>&1|grep -q Healthy ; do
sleep 1
done
-garage status \
+garage -c /tmp/config.1.toml status \
| grep UNCONFIGURED \
| grep -Po '^[0-9a-f]+' \
| while read id; do
- garage node configure -z dc1 -c 1 $id
+ garage -c /tmp/config.1.toml node configure -z dc1 -c 1 $id
done