From 381fe2bf11e368551e6c7ed94b0e4e4311591484 Mon Sep 17 00:00:00 2001 From: Oyvind Albrigtsen Date: Mon, 3 Feb 2025 12:57:30 +0100 Subject: [PATCH] - Fix CI gating tests Resolves: RHEL-76495 --- fence-agents.spec | 4 ++-- tests/run_tests.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fence-agents.spec b/fence-agents.spec index 3a8184d..c7db561 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -13,7 +13,7 @@ Name: fence-agents Summary: Set of unified programs capable of host isolation ("fencing") Version: 4.16.0 -Release: 3%{?alphatag:.%{alphatag}}%{?dist} +Release: 4%{?alphatag:.%{alphatag}}%{?dist} License: GPL-2.0-or-later AND LGPL-2.0-or-later URL: https://github.com/ClusterLabs/fence-agents Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz @@ -1182,7 +1182,7 @@ are located on corosync cluster nodes. %endif %changelog -* Fri Jan 31 2025 Oyvind Albrigtsen - 4.16.0-3 +* Mon Feb 3 2025 Oyvind Albrigtsen - 4.16.0-4 - fence_azure_arm: use azure-identity instead of msrestazure, which has been deprecated Resolves: RHEL-76495 diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 351104d..ea7be59 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -1,6 +1,6 @@ #!/bin/sh -PYTHON_VERSION=$(python3 --version | awk '{print $NF}') +PYTHON_VERSION=$(python3 -Esc "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))") err=0 if [ "$(pcs stonith list 2> /dev/null | wc -l)" -eq 0 ]; then