feat: upgrade garage to v0.9.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
---
|
||||
|
||||
garage_version: v0.8.4
|
||||
garage_version: v0.9.0
|
||||
garage_arch: x86_64
|
||||
|
@@ -6,7 +6,7 @@ HEADER="Authorization: Bearer ${BEARER}"
|
||||
# Create associative array
|
||||
declare -A BUCKETS=()
|
||||
|
||||
API_BUCKETS_JSON=$(curl -s -H "${HEADER}" "http://[::1]:3903/v0/bucket" | jq -r '.[] | .id + "," + .globalAliases[0]')
|
||||
API_BUCKETS_JSON=$(curl -s -H "${HEADER}" "http://[::1]:3903/v1/bucket?list" | jq -r '.[] | .id + "," + .globalAliases[0]')
|
||||
|
||||
# Populate associative array
|
||||
for bucket in ${API_BUCKETS_JSON}
|
||||
@@ -59,7 +59,7 @@ declare -A REQUESTS
|
||||
|
||||
for i in "${!BUCKETS[@]}"
|
||||
do
|
||||
REQUESTS+=([${BUCKETS[${i}]}]=$(curl -s -H "${HEADER}" "http://[::1]:3903/v0/bucket?id=${i}"))
|
||||
REQUESTS+=([${BUCKETS[${i}]}]=$(curl -s -H "${HEADER}" "http://[::1]:3903/v1/bucket?id=${i}"))
|
||||
done
|
||||
|
||||
echo "multigraph garage_bucket_unfinished"
|
||||
|
Reference in New Issue
Block a user