From aaa363875255b6e40984bf56b9857dd4b3180aee Mon Sep 17 00:00:00 2001 From: "Jonathan Gonzalez V." Date: Mon, 25 Nov 2024 10:56:36 +0100 Subject: [PATCH] fix: set a fixed version of Barman to 3.11.1 (#119) The latest released version of Barman 3.12.0 introduced a change of the format making that version incompatible with CloudNativePG For more information check the following commit: https://github.com/EnterpriseDB/barman/pull/1029/files 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 218810ca..3869d289 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.11.1" } get_latest_barman_version() { if [ -z "$latest_barman_version" ]; then