From e2eed6c9b4a7dd5e5a6e85ead96cc8d2cd5e024c Mon Sep 17 00:00:00 2001 From: Michal Pospisil Date: Thu, 2 Nov 2023 13:15:37 +0100 Subject: [PATCH] ignore failure when allowing repositories Gating environment has a different repository configuration than production builds. This causes dnf config manager to fail when enabling high availability and crb repositories. These repositories are enabled on the images used for testing, so the failure can be ignored. Resolves: RHEL-15217 --- gating.fmf | 2 +- pcs.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gating.fmf b/gating.fmf index 0058952..1a66025 100644 --- a/gating.fmf +++ b/gating.fmf @@ -26,7 +26,7 @@ prepare: package: dnf-command(config-manager) - name: Enable HA repo how: shell - script: dnf config-manager --set-enabled highavailability crb + script: dnf config-manager --set-enabled highavailability crb || true - name: Install packages how: install package: diff --git a/pcs.spec b/pcs.spec index 7aac432..40861ba 100644 --- a/pcs.spec +++ b/pcs.spec @@ -1,6 +1,6 @@ Name: pcs Version: 0.11.6 -Release: 4%{?dist} +Release: 5%{?dist} # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ # https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses # GPL-2.0-only: pcs @@ -541,6 +541,10 @@ run_all_tests %license pyagentx_LICENSE.txt %changelog +* Thu Nov 2 2023 Michal Pospisil - 0.11.6-5 +- No changes, fixing an error in a new quality control process +- Resolves: RHEL-15217 + * Fri Oct 27 2023 Michal Pospisil - 0.11.6-4 - No changes, testing a new quality control process - Resolves: RHEL-15217