From 080eb42e17522d84b5d89c6036c5966c471070f6 Mon Sep 17 00:00:00 2001 From: Jonathan Gonzalez V Date: Tue, 25 Feb 2025 12:32:48 +0100 Subject: [PATCH] fix: set a fixed version of Barman to 3.12.1 The latest released version of Barman 3.13.0 introduced a change in the argment list for the restore. For more information check the following issue: https://github.com/cloudnative-pg/cloudnative-pg/issues/6932 Signed-off-by: Jonathan Gonzalez V --- lib/repo_funcs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/repo_funcs.sh b/lib/repo_funcs.sh index bf32b6fb..6e25b3cc 100644 --- a/lib/repo_funcs.sh +++ b/lib/repo_funcs.sh @@ -32,7 +32,8 @@ fetch_postgres_image_version() { # Get the latest Barman version latest_barman_version= _raw_get_latest_barman_version() { - curl -s https://pypi.org/pypi/barman/json | jq -r '.releases | keys[]' | sort -Vr | head -n1 +# curl -s https://pypi.org/pypi/barman/json | jq -r '.releases | keys[]' | sort -Vr | head -n1 + echo "3.12.1" } get_latest_barman_version() { if [ -z "$latest_barman_version" ]; then