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
This commit is contained in:
Michal Pospisil 2023-11-02 13:15:37 +01:00
parent 1ab5fc7490
commit e2eed6c9b4
2 changed files with 6 additions and 2 deletions

View File

@ -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:

View File

@ -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 <mpospisi@redhat.com> - 0.11.6-5
- No changes, fixing an error in a new quality control process
- Resolves: RHEL-15217
* Fri Oct 27 2023 Michal Pospisil <mpospisi@redhat.com> - 0.11.6-4
- No changes, testing a new quality control process
- Resolves: RHEL-15217