Commit Graph

12 Commits

Author SHA1 Message Date
Michal Pospíšil
402e13b60a set bundled package paths in plan
There is a key difference between Fedora and RHEL. Fedora has pcs as a
noarch package which causes it to be installed into /usr/lib rather
than /usr/lib64. This means that bundled packages have a different path.
This caused import errors in tests.

There is also a better way of setting the environment variables -
through tmt instead of the preparation script.
2025-11-13 17:16:51 +01:00
Michal Pospíšil
888c18bc08 ensure compatibility with rpm before and after 4.20
When backporting the gating changes in Fedora, I found out that they are
not backwards compatible with odl RPM. While I could just roll back the
incomptabile changes as I did in that older Fedora branch, I'm not going
to do that. Because this branch is supposed to be upstream of the eln
brnach with Fedora that includes the new RPM version, this should make
the testing run both with older and newer RPM versions.
2025-11-13 17:16:51 +01:00
Michal Pospíšil
08eca9831e move helper gating script to tests dir
Sometimes changes to the helper script for the gating plan are needed
without a ticket. Since this is a shell script, it is not exempt from
dist-git policy that requires a ticket for any non-test change. The
gating plan itself is a fmf file which is exempt, so only this used to
be a problem in the past.

Because of the STI test format, the whole tests folder is exempt too.
Moving the helper script there to avoid the need for tickets.
2025-11-13 17:16:51 +01: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
Miroslav Lisik
417d59d575 Resolves: rhbz#1811072 rhbz#1945305 rhbz#1997019 rhbz#2012129
- Rebased to latest upstream sources (see CHANGELOG.md)
- Updated pcs web ui
- Enabled wui patching
2021-11-02 15:42:25 +01:00
Miroslav Lisik
33ce0d3e0f Resolves: rhbz#1283805 rhbz#1910644 rhbz#1910645 rhbz#1985981 rhbz#1991957 rhbz#1996067
- Rebased to latest upstream sources (see CHANGELOG.md)
- Updated pcs web ui
2021-08-24 13:22:15 +02:00
Miroslav Lisik
3498f0e2da Resolves: rhbz#1881064
- Rebuild with fixed gaiting tests
- Stopped bundling rubygem-json (use distribution package instead)
- Fixed patches
2021-06-16 13:22:01 +02:00
Miroslav Lisik
8e21815087 Resolves: rhbz#1881064
- Fixed License tag
- Rebuild with fixed dependency for gating tier0 tests
2021-06-15 17:15:59 +02:00
Miroslav Lisik
48490e1ce5 Resolves: rhbz#1881064
- Rebased to latest upstream sources (see CHANGELOG.md)
- Removed clufter related commands
2021-06-14 17:34:56 +02:00
Miroslav Lisik
5034194f3f Add openssl to required_packages for tests 2021-03-05 09:40:23 +01:00
Miroslav Lisik
51d0168729 Enable gating for rhel-9 2021-02-25 17:07:17 +01:00
DistroBaker
90dd73d5c0 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/pcs.git#08d296034307a722dc69135fe7ed7ab3c6221bf3
2020-10-30 15:09:58 +01:00