Commit graph

22 commits

Author SHA1 Message Date
Sanne Raymaekers
957700adcc .gitlab-ci.yml: switch to rhel-10.1 nightly 2025-08-20 12:32:43 +00:00
Sanne Raymaekers
fa0560ac4d playwright: wait until distro and arch have been initialized
On-prem the distro and architecture are set after the wizard has been
opened. This triggers a reload of the image types and makes the tests
very flaky.
2025-08-20 12:32:43 +00:00
Sanne Raymaekers
0e7f5d9e7b plans: add gating tests
This tmt[0] test runs the playwright tests as gating tests. Having the
gating tests upstream avoids duplication across fedora and centos
dist-git repositories, and running them upstream should keep them in
working order.

Only add x86_64 for now, the aarch runners seem to be a bit too slow.

[0]: https://tmt.readthedocs.io/en/stable/index.html
2025-08-20 12:32:43 +00:00
Gianluca Zuccarelli
c9d721ea52 playwright: add a test for cockpit cloud config
SSIA
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
72d09a09da schutzbot: fix update github status f42
There seems to be a change in behaviour from Fedora 41 to Fedora 42.
When a script is executed remotely a non-interactive session is created.
However, the user session with noTTY in Fedora F42 is picked up by the
`who`, `w` & `users` commands.

Since we run a remote script that checks for logged in users with the
`who` command, the `update_github_status.sh` script blocks and creates
an endless loop. This happens because the session only closes once the
remote script has finished executing.

The fix is a bit ugly, but we can filter this session out by checking
for user sessions that don't have a terminal device `?`.
2025-05-29 09:55:52 -05:00
Sanne Raymaekers
8ccd1e6ae0 schutzbot/terraform: add f42 runners 2025-05-27 08:41:14 +02:00
Sanne Raymaekers
ad5b378479 .gitlab-ci.yml: run playwright tests on fedora 2025-05-27 08:41:14 +02:00
Tom Koscielniak
7a839d0d3c playwright: Bump Playwright to 1.51.1
Bump Playwright to a newer version so we can use step.skip feature
2025-04-15 14:14:40 +02:00
Tom Koscielniak
781267f16c tests: Streamline hosted Playwright local setup
Streamline the process of setting up Playwright for local development of hosted service tests using dotenv. Add short guide to README as well.
2025-03-27 11:42:05 +01:00
Sanne Raymaekers
5e7a9a3b7b schutzbot: pass along currents variables 2025-03-19 15:45:14 +01:00
Sanne Raymaekers
21ec51a69e playwright: adapt tests to hosted
Makes the test's base url, user & password configurable through the
environment. Abstracts differences between hosted and cockpit where
possible to lib, and adds conditionals otherwise.
2025-03-11 13:30:14 +01:00
Sanne Raymaekers
c0187f7b76 schutzbot/terraform: updated runners
Includes the nightly images which have the playwright container baked
in.
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
2c827e2816 schutzbot: fix uploading artifacts
Fixes mistake in copying over from osbuild-composer. And upload the
artifacts recursively.
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
dd80a1757c schutzbot: fix updating github status
Fixes mistake in copying over from osbuild-composer.
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
f5901a96ee schutzbot: save journal as artifact 2025-03-06 13:12:33 +01:00
Sanne Raymaekers
b8a4b26013 schutzbots: fix rpm install
`nodejs-npm` is only present on el10.
2025-03-06 13:12:33 +01:00
schutzbot
6ef29afac3 Post release version bump
[skip ci]
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
747b718933 schutzbot: add basic schutzbot structure
Simply builds the rpm and installs it.
2025-02-24 13:38:05 +01:00
Jakub Rusz
32b936d4c6 CI: Drop SonarQube and Schutzbot in favor of Snyk (HMS-3696)
Snyk is now being used for code analysis in favor of Sonarqube. This
commit drops Sonarqube. Schutzbot was only neccessary for running
SonarQube, so it has also been dropped.
2024-03-05 08:39:16 +01:00
Jakub Rusz
f01904302a
Update terraform SHA (#1403)
We need a newer centos-8 image in our CI.
2023-10-31 07:53:28 +00:00
Thomas Lavocat
b74a5a784b ci: add tags to AWS instances
The new terraform runners support an extended lists of tags to get a
greater precision on the stats we can extract from AWS cost center.
2022-11-10 18:46:09 +01:00
Jakub Rusz
4ec5c97758 Add Schutzbot and Sonarqube
This adds the ability to use our Schutzbot Gitlab CI and run Sonarqube
scan there. We have pretty much the exact same thing in weldr-client
repo and use it only for Sonarqube. This could also be used in the
future if there is any need to use our own CI.

The added scan is just informative and is by no means supposed to be
used to gate PRs, there will be just one more link to
check the results in case anyone is interested.
2022-09-02 16:09:12 +02:00