Commit graph

89 commits

Author SHA1 Message Date
Tom Koscielniak
9671226fad tests/CI: Upgrade rhel 9.5 GA to 9.6 GA and add 10.0 GA
Upgrade CI to 9.6 GA and 10.0 GA (first GA runners for rhel 10) and remove 9.6 and 10.0 nightly runners from the CI.
2025-07-01 17:53:44 +02:00
Achilleas Koutsou
e5802d4eb6 github: drop Fedora 40, add Fedora 42 2025-05-16 16:56:15 +02:00
Tomáš Hozza
6c5c0aa462 CI: don't build F39 RPMs
These are no longer consumed by any dependent project AFAICT, so let's
drop the EOL Fedora 39 builds.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-05-13 10:17:55 +02:00
Tom Koscielniak
5260d753f3 tests/CI: Upgrade rhel 9.4 GA to 9.5 GA 2025-03-25 10:54:37 +01:00
Tom Koscielniak
1668c78cfb tests/CI: Add rhel 9.7 and 10.1 nightly runners 2025-03-20 14:27:44 +01:00
Tomáš Hozza
b2bf7bc11b GitLab CI/manifest_tests: explicitly specify workdir
Explicitly specify the workdir when running manifest_tests, make
potential debugging of the test case on CI runner easier (because
otherwise the workdir would get removed after failing test).

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-01-31 10:18:14 +01:00
Tomáš Hozza
9bdde1bc80 Gitlab: don't run manifest-tests on RHEL-8.10
Per discussion in the team, we see little value in rebuilding RHEL-8.10
images on RHEL-8.10 for the purpose of manifest testing in osbuild. So
let's not do that anymore.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-01-31 10:18:14 +01:00
Tomáš Hozza
5d95bc8e17 Gitlab CI: switch to the new images-CI-based manifest_tests
Switch to the new manifest_tests based on the osbuild/images CI cache,
instead of using the manifest-db.

For now, run tests only for a subset of manifest configurations. This
can be changed in the future as needed.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-01-31 10:18:14 +01:00
Tomáš Hozza
bf3dff6842 Gitlab CI: use F41 for OSTree tests
Let's not use EOL F39 for OSTree tests and move to the latest supported
Fedora version.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-01-20 17:19:14 +01:00
Achilleas Koutsou
16d0b2188e gitlab: run test in CI 2025-01-17 10:10:47 +01:00
Tomáš Hozza
503cfb0936 CI: move the manifest_tests.sh from schutzbot/ to test/cases/
The test script should have been in the test/cases/ directory in the
first place.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-12-18 12:50:32 +01:00
Tom Koscielniak
9b66ad8123 Bump RHEL 10 from beta to nightly
Bumping Rhel 10 runners from beta to nightly, running manifests on 9.6 nightly and also removing the Rhel 9.5 nightly runners altogether.
2024-11-29 14:47:45 +01:00
Tom Koscielniak
ff0cd854c8 Build RPMs on 9.6 nightly 2024-11-12 12:46:56 +01:00
Brian C. Lane
0bbdabfcca tests: Add f41 and update terraform hash 2024-08-01 08:57:30 +02:00
Tomáš Hozza
5bf252a2c1 Test/manifests: start testing on el10.0-nightly
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-24 12:24:43 +02:00
Tomáš Hozza
1c086fd328 Test/manifests: start testing on c10s
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-24 12:24:43 +02:00
Tomáš Hozza
dcc08d8bd4 CI: build RPMs for RHEL-10.0-nightly
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-19 09:27:30 +02:00
Alexander Todorov
3bbf05243c Start building RPMs on CentOS Stream 10 for testing
Related: COMPOSER-2226
2024-07-16 11:30:13 +02:00
Tomáš Hozza
897a5ed065 Gitlab CI: update RHEL runners
Update RHEL runners to the same versions that correspond to the actual
state of which release is currently GA and which is in development
(nightly). Specifically, run jobs only on:

 - RHEL-8.10 GA
 - RHEL-9.4 GA
 - RHEL-9.5 nightly

 This is the same set of RHEL workers, as used by 'manifest-db'

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-02 09:46:45 +02:00
Tomáš Hozza
7aff6c9d3c Drop testing on F37 and F38, which are EOL
F37 and F38 are EOL and repositories are no longer working. Drop
building and testing on F37 and F38.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-06-04 19:39:39 +02:00
Tomáš Hozza
067e002490 Drop testing on c8s, which is EOL
c8s is EOL and repositories are no longer working. Drop building and
testing on c8s.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-06-04 19:39:39 +02:00
Alexander Todorov
4b66874824 Start building RPMs on 9.5 nightly
Related: COMPOSER-2227
2024-05-03 11:09:38 +02:00
Brian C. Lane
15213fd3cf Revert "Disable F40 CI (CVE-2024-3094 response)"
F40 is safe to use again

This reverts commit dc85702553.
2024-04-26 18:20:16 +02:00
Ondřej Budai
dc85702553 Disable F40 CI (CVE-2024-3094 response) 2024-03-31 17:10:13 +02:00
Tom Koscielniak
3b7a8aa728 Migrate manifest tests to new RHEL GA version 2024-03-21 15:46:48 +01:00
Simon Steinbeiss
144b0563d6 tests/manifest: Don't retain image-info artifacts
Nothing else seems to rely on the image-info generated by the manifest
tests, so let's not retain those artifacts. This currently makes the
`finish` stage take 6 minutes for no good reason.
2024-03-06 13:06:10 +01:00
Achilleas Koutsou
a0f5262701 gitlab: don't update GitHub status from individual jobs
Never update the GitHub status at the end of a job.  Instead, when
everything is done, the 'fail' job will run in the 'finish' stage and
update the status accordingly.
2024-03-05 16:04:20 +01:00
Achilleas Koutsou
f7dd0878b9 gitlab: new pipeline 'fail'
New pipeline called fail that runs in the 'finish' stage but only when a
job fails.  The job updates the github status to indicate failure.
2024-03-05 16:04:20 +01:00
Ondřej Budai
57bba13752 gitlab: parallelize the manifest db tests even more
Why not, we can run a lot of VMs in parallel, and this will speed up the test
runs.
2024-03-05 12:49:21 +02:00
Ondřej Budai
08d4bbf4dd test/ostree: parallelize the test
Building 7 images on one machine is quite slow. Instead, let's spawn build
them on separate ones to save some time.
2024-03-05 12:49:21 +02:00
Ondřej Budai
6750c0fd6a gitlab: Stop running the ostree tests in the internal network
It's just Fedora, there's nothing internal.
2024-03-05 12:49:21 +02:00
Ondřej Budai
8632269f79 gitlab: Run the ostree tests just on Fedora
These tests are building just Fedora manifests, thus there's basically
no point in running them on RHEL, since we never support building
Fedora on RHEL.
2024-03-05 12:49:21 +02:00
Simon Steinbeiss
3de3bddc10 actions/sonarqube: Drop SonarQube in favor of Snyk 2024-03-04 14:14:03 +01:00
Tom Koscielniak
4977501cc6 Switch rpmbuild to RHEL 8.9/9.3 GA 2024-01-18 19:19:23 +01:00
Jakub Rusz
e605a3eea0 Switch nightly testing to RHEL-8.10 and RHEL-9.4 2023-12-18 19:29:37 +04:00
Jakub Rusz
36883654ce rpmbuild: add fedora-40 2023-12-06 10:11:32 +01:00
Paweł Poławski
cd1c5f04a3 tools: add Fedora 38 runner for OSTree image tests
OSTree tests are executed on RHEL 8, RHEL 9 and F37 runners.
This commit adds F38 to the runners list.
2023-11-06 13:44:43 +01:00
Jakub Rusz
fd29a31832 rpmbuild: build on RHEL-9.4 and RHEL-8.10 2023-10-31 12:50:03 +01:00
Sanne Raymaekers
6c4e5c5378 .gitlab-ci: update RHEL ga runners 2023-08-28 12:16:24 +02:00
Sanne Raymaekers
433515cff8 schutzbot: unregister test hosts 2023-08-21 18:46:55 +02:00
Brian C. Lane
e9d795a279 .gitlab-ci.yml: Run rpmbuild for Fedora 39
The osbuild-composer libdnf5 PR needs osbuild artifacts for Fedora 39 in
order to run the tests.
2023-07-17 12:18:10 +02:00
Alexander Todorov
107ac2b18f Remove runners which are not used in manifest-db upstream 2023-06-21 09:57:34 +02:00
Alexander Todorov
65dbd23432 Also test on RHEL 8.9 and 9.3 nightly 2023-06-21 09:57:34 +02:00
Thomas Lavocat
8669d0ad4c ci/parallelization: manifest tests run in parallel
To avoid hitting the 4h timeout.
2023-05-23 11:52:11 +02:00
Alexander Todorov
04eab998b7 Start building osbuild on RHEL 8.9 and 9.3 nightly 2023-05-04 13:34:35 +03:00
Alexander Todorov
67ee98c22b Test OSTree Images on 8.8 & 9.2 nightly runners 2023-05-03 12:00:35 +03:00
Tomáš Hozza
bb406d11fe CI: set up team SSH keys in before_script, not deploy.sh
This is how it is done also in osbuild-composer. The downside of doing
this in `deploy.sh` is that team SSH keys are not set as authorized for
mock-build jobs, which make it impossible to log into the machine and
debug anything.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-24 21:04:45 +02:00
Sanne Raymaekers
5dbf596ffa .gitlab-ci: drop fedora-35 2023-04-06 14:49:23 +02:00
Sanne Raymaekers
72db212a61 .gitlab-ci: remove RHEL 8.6/9.0 ga runners 2023-04-05 18:03:48 +02:00
Sanne Raymaekers
93f90b9443 .gitlab-ci: use RHEL 87/91 GA in rpmbuild and ostree test stages 2023-04-04 20:35:57 +02:00