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 <jonathan.gonzalez@enterprisedb.com>
This commit is contained in:
Jonathan Gonzalez V.
2024-11-25 10:56:36 +01:00
committed by GitHub
parent 30b0073b44
commit aaa3638752

View File

@@ -32,7 +32,8 @@ fetch_postgres_image_version() {
# Get the latest Barman version # Get the latest Barman version
latest_barman_version= latest_barman_version=
_raw_get_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() { get_latest_barman_version() {
if [ -z "$latest_barman_version" ]; then if [ -z "$latest_barman_version" ]; then