Compare commits

..

2 Commits

Author SHA1 Message Date
Michal Pospisil 6a3c49efcd ignore failure when allowing repositories 2023-11-03 03:43:10 +00:00
Michal Pospisil 1ab5fc7490 migrate gating tests to fmf
The deprecated STI gating test definition is removed in favor of
flexible metadata format (fmf). This fixes testing in Testing Farm
which is enabled in CentOS Stream merge requests.

This is not the final version, some workarounds were needed. Most
notable ones are patching sources which is not yet supported by
tmt (test management tool - used to run tests in Testing Farm).
Tmt also does not download rubygems, so a macro was put in place
to avoid errors while trying to copy them in the prep phase of rpmbuild.

To ensure smooth build process in the future, we will test that the new
gating test definition will match the previous result without changing
the package content.

Resolves: RHEL-15217
2023-11-01 15:21:38 +01:00
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