Commit graph

14 commits

Author SHA1 Message Date
Jelle van der Waa
bd2ac26df6 Drop sizzle test dependency 2023-07-31 19:27:09 +02:00
Martin Pitt
a8faf6a43a fmf: Drop obsolete standard-test-source support
All of Fedora's and RHEL's CI works on FMF these days.
2023-03-28 10:25:54 +02:00
Martin Pitt
4990d6a103 build: Move to a webpack module
Cockpit recently changed to an ESM build system [1]. Bump
COCKPIT_REPO_COMMIT to that and follow suit.

This does not work with old node.js 10 any more which is still the
default in RHEL 8. Install the newer version 16 instead.

[1] https://github.com/cockpit-project/cockpit/pull/18366
2023-02-20 10:01:02 +01:00
Martin Pitt
9fce37f215 fmf: Don't install weak firefox dependencies
firefox pulls in half a desktop, we don't need any of these for a
headless test. This reduces the number packages from 133 (459 MB) to 66
(365 MB).
2022-02-04 08:47:32 +01:00
Martin Pitt
ba3913caa0 fmf: Work around missing /etc/nsswitch.conf in Fedora Rawhide
Upgrading glibc in Rawhide now (semi-intentionally) removes
/etc/nsswitch.conf, but does not enforce installing a new enough
pam/authselect to ensure that it gets re-added. This breaks resolving
"localhost".

Reported as https://bugzilla.redhat.com/show_bug.cgi?id=2033020
2021-12-16 08:40:55 +01:00
Martin Pitt
9e162423eb fmf: Go back to firefox distro version
By now the packaged firefox contains CDP. This makes the tests more
robust against CDP breakage in nightly.
2021-12-15 09:24:48 +02:00
Martin Pitt
c04d951964 packit: Run tests on CentOS 9 stream 2021-11-16 15:20:32 +01:00
Martin Pitt
8074af0fbd fmf: Only install git-core
We don't need all the bells and whistles of the full git package.
2021-10-07 12:38:03 +02:00
Martin Pitt
72c15c4b82 packit: Enable CentOS Stream 8 2021-10-07 12:38:03 +02:00
Martin Pitt
5d15bdac5c fmf: Dependency installation robustification
Sync some improvements from cockpit-machines:

 * Unbreak running `tmt` in local trees with an already existing ./bots
   symlink.
 * Don't install all NPM packages, only chrome-remote-interface and sizzle.
 * Disable detection of affected tests, taking too long for real
   projects.
2021-10-07 12:38:03 +02:00
Martin Pitt
0bc01714ee fmf: Run tests with firefox
Chromium has started to crash in current Fedora, and is not easily
available in RHEL.

Install bzip2 to unpack the nightly tarball.
2021-10-07 12:38:03 +02:00
Allison Karlitskaya
37b2ee5056 various: master → main updates
cockpit/ bots/ and cockpituous/ all use the 'main' branch now.
2021-07-05 10:47:18 +02:00
Martin Pitt
b5610000b5 fmf: Add glibc-langpack-de test dependency
The tests switch to German, make sure that the corresponding locale
exists. Otherwise, tests will run into unexpected messages like "invalid
or unusable locale: de_DE.UTF-8".
2021-04-19 10:33:02 +02:00
Martin Pitt
09823650e2 Add FMF test metadata and scripts
Copy and adjust the browser.sh and run-test.sh scripts from
cockpit-podman, which we have used in Fedora/RHEL dist-git gating and
packit tests for a while.
2021-03-04 11:25:53 +01:00