feat: upgrade garage to v0.9.0

This commit is contained in:
VC
2024-07-05 11:53:47 +02:00
parent b00c119231
commit a584920012
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
--- ---
garage_version: v0.8.4 garage_version: v0.9.0
garage_arch: x86_64 garage_arch: x86_64

View File

@@ -6,7 +6,7 @@ HEADER="Authorization: Bearer ${BEARER}"
# Create associative array # Create associative array
declare -A BUCKETS=() 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 # Populate associative array
for bucket in ${API_BUCKETS_JSON} for bucket in ${API_BUCKETS_JSON}
@@ -59,7 +59,7 @@ declare -A REQUESTS
for i in "${!BUCKETS[@]}" for i in "${!BUCKETS[@]}"
do 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 done
echo "multigraph garage_bucket_unfinished" echo "multigraph garage_bucket_unfinished"