📦: garage v2.0.0
All checks were successful
ansible-lint / lint-everything (push) Successful in 5m41s
All checks were successful
ansible-lint / lint-everything (push) Successful in 5m41s
This commit is contained in:
@@ -10,7 +10,7 @@ db_engine = "lmdb"
|
||||
|
||||
block_size = "{{ garage_block_size }}"
|
||||
|
||||
replication_mode = "{{ garage_replication_mode }}"
|
||||
replication_factor = {{ garage_replication_mode }}
|
||||
|
||||
compression_level = 2
|
||||
|
||||
|
@@ -2,5 +2,5 @@
|
||||
|
||||
garage_url: "https://garagehq.deuxfleurs.fr/_releases/{{ garage_version }}/{{ garage_arch }}-unknown-linux-musl/garage"
|
||||
garage_bin: "/usr/local/bin/garage"
|
||||
garage_version: v1.2.0
|
||||
garage_version: v2.0.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/v1/bucket?list" | jq -r '.[] | .id + "," + (if (.globalAliases[0]|test("\\.")) then .globalAliases[1] else .globalAliases[0] end)')
|
||||
API_BUCKETS_JSON=$(curl -s -H "${HEADER}" "http://[::1]:3903/v2/ListBuckets" | jq -r '.[] | .id + "," + (if (.globalAliases[0]|test("\\.")) then .globalAliases[1] else .globalAliases[0] end)')
|
||||
|
||||
# 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/v1/bucket?id=${i}"))
|
||||
REQUESTS+=([${BUCKETS[${i}]}]=$(curl -s -H "${HEADER}" "http://[::1]:3903/v2/GetBucketInfo?id=${i}"))
|
||||
done
|
||||
|
||||
echo "multigraph garage_bucket_unfinished"
|
||||
|
Reference in New Issue
Block a user