Commit graph

418 commits

Author SHA1 Message Date
Tomáš Hozza
64f7d7f303 schutzbot/update_github_status.sh: fix GA pipeline status reporting
Previously, the script didn't distinguish between the scheduled RHEL-X
nightly pipeline and the scheduled RHEL GA pipeline when reporting
status back to GitHub. Moreover the scheduled RHEL GA pipeline on GitLab
had RHEL_MAJOR variable set to "9". As a result, the scheduled RHEL GA
pipeline status has been reported to GitHub as "Schutzbot on GitLab,
RHEL-9-nightly", which effectively overrode the RHEL-9 nightly pipeline
status for the same commit.

Fix the script reporting the status back to GitHub, to take the NIGHLY
variable value into consideration when building up the status context.

I've also modified the RHEL GA scheduled pipeline settings in GitLab to
not specify any RHEL_MAJOR, which was a relict from pre-RHEL-10 days.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-07-23 11:46:43 +02:00
Tom Koscielniak
804932f2ad tests/CI: Fix RHEL 10 mock config creation and repo URLs
Fix RHEL 10 mock confings not being created if the machine was subscribed and fix RHEL 9 being used in the RHEL 10 mock confings for a repo path.
These issues caused the rpm jobs for RHEL 10 GA to fail.
2025-07-21 13:04:03 +02:00
Tom Koscielniak
dc66a845bc Schutzbot: Update terraform commit SHA 2025-07-21 13:04:03 +02:00
Sanne Raymaekers
3ce8efd80f schutzbot/containerbuild: do not verify images from rh registries 2025-06-27 21:19:21 +02:00
Tomáš Hozza
664f68ba16 schutzbot/terraform: update ref to the one with F42 config
Update the terraform ref to the one that contains F42 configs. This is
needed to start testing anything on F42.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-06-20 10:06:51 +02:00
Tom Koscielniak
7ed60dbe2e CI: Add tkosciel ssh key 2025-06-03 17:06:52 +02:00
Tomáš Hozza
987da06136 deploy.sh: set network_backend to netavark in containers.conf
Add a workaround for the issue that podman falls back to the 'cni'
network backend when finding any container images in the local storage
when executed for the first time. Since we started embedding container
images in our CI runner images, this resulted in failures, because the
OS is missing some required CNI plugins. Until we somehow fix this in
osbuild, we explicitly set the network backend to 'netavark'.

This is relevant only for RHEL-9 / c9s, because Fedora since F40 and
el10 support only `netavark` backend.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-04-01 08:40:13 +02:00
Tomáš Hozza
be1a9910cc Schutzbot: update terraform ref
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-04-01 08:40:13 +02:00
Tom Koscielniak
0dcbece2ca CI: Update slack notifications and remove Alex
Remove Alex from Slack CI notifications, add Achilleas and tag only on failures.
2025-02-25 13:35:44 +01:00
Achilleas Koutsou
58d16f662f deploy: install osbuild-tools for osbuild-image-info 2025-01-31 08:22:29 +01:00
Tomáš Hozza
55c22bf4df Schutzbot: update terraform ref
The original ref pointed to a commit, which used the plain Fedora 41
Cloud Base images, which don't have any test dependencies installed. Use
the latest commit from `main`.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-01-30 07:48:44 +01:00
Achilleas Koutsou
8b0a1d1714 schutzbot: update Achilleas' ssh keys 2025-01-02 08:03:39 +01:00
Tom Koscielniak
f5a5705b7e schutzbot/tests: bump rhel10 to nightly, update tf sha and osbuild deps
Bump RHEL 10 from beta to nightly by updating terraform SHA and osbuild dependencies to start testing RHEL 10 nightly and to meet the CTC schedule.
2024-12-05 14:33:12 +01:00
Jakub Rusz
f68fcff400 CI: remove jrusz from notifications
Removing myself from the slack notifications as I'm no longer a QE
member.
2024-12-02 14:34:51 +01:00
Tom Koscielniak
d8295ea2ea Test with rhel-9.6 nightly 2024-11-21 08:14:22 +01:00
Ondřej Budai
eaf90f5aea schutzbot: shorten the slack notification
We are on a quest to reduce clutter on our Slack channels. Thus,
I decided to simplify the daily CI notifications:
  - the link to the edge pipelines got removed, it's now in bookmarks
  - several words were removed to make the message shorter
  - the link to the pipeline is now a hyperlink
  - the whole message should be a one liner
  - less text is now bold

I've also simplified the format in which we send the message. I think
that the block format used before makes redundant line-breaks.
Unfortunately, the mentions need to be done using user IDs instead
of user names. If you ever need to find them, go to the user's profile,
click on the three dots and select "Copy member ID".
2024-10-24 10:45:24 +02:00
Sanne Raymaekers
2bdeede4b8 Revert "schutzbot/terraform: new fedora-41 runners"
This reverts commit 8485481c90.
2024-09-24 14:46:58 +02:00
Sanne Raymaekers
8485481c90 schutzbot/terraform: new fedora-41 runners 2024-09-23 14:30:27 -07:00
Alexander Todorov
39d91bcb4e There is no EPEL for EL10 yet so use a custom COPR repository 2024-08-12 08:39:05 +03:00
Tomáš Hozza
61036b87bb mockbuild.sh: temporarily base missing el10 mock template on el9
There is no RHEL-10 mock template yet. Let's base it on RHEL-9 template
with a few tweaks.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-23 12:14:13 +02:00
Tomáš Hozza
9c9a3b7937 mockbuild.sh: add workarounds for c10s and el10
Add workarounds needed for mockbuild.sh to work on c10s / el10, due to
non-existent EPEL-10 and issues on c10s.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-23 12:14:13 +02:00
Tomáš Hozza
bb7e095aab Update terraform ref
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-23 12:14:13 +02:00
Tom Koscielniak
0be8764a79 Fix slack GA pipeline notification job failure 2024-07-23 12:12:36 +02:00
Sanne Raymaekers
5d0e3ee85b schutzbot/terraform: bump sha
Includes more images with gitlab-runner and dependencies pre-installed.
2024-07-17 19:07:43 +02:00
Tom Koscielniak
62ae5aa4ea Create new nightly pipeline for GA/EUS images 2024-07-16 17:00:52 +02:00
Sanne Raymaekers
2e4793907d .gitlab-ci: remove fedora-38
Move to fedora 39 or 40 where appropriate.
2024-06-26 10:56:57 +02:00
Alexander Todorov
39370abce4 Define rhel-9.5 repos
Related: COMPOSER-2227
2024-06-07 10:31:54 +02:00
Jakub Rusz
eec2cf62e1 CI: Drop SonarQube in favor of Snyk 2024-03-06 00:11:46 +01:00
Sanne Raymaekers
55c737e4f9 schutzbot/terraform: support instance profiles on aws runners 2024-03-01 19:20:51 +01:00
Jakub Rusz
9e0edb2f00 CI: update terraform SHA
We had to switch fedora-38-aarch64 image to an older one because the
current one was broken in AWS.
2024-01-31 10:11:50 +01:00
Alexander Todorov
5033afa2e2 Update test runners to Fedora 39 2024-01-10 15:47:42 +01:00
Michael Vogt
96e3b727b3 schutzbot: add my "mvogt" SSH key 2024-01-08 15:55:38 +01:00
Jakub Rusz
2410b00eb9 rpmbuild: add fedora-40 2023-12-06 16:52:40 +01:00
Sanne Raymaekers
952c7a483b schutzbot/terraform: aws instance types rework 2023-11-17 16:31:53 +01:00
Sanne Raymaekers
c749fb275e schutzbot/terraform: update rhel-9.2 aarch64 image 2023-11-09 12:05:11 +01:00
Jakub Rusz
d71574976e rpmbuild: build rpms on RHEL-9.4 and RHEL-8.10 2023-10-31 16:44:22 +01:00
Achilleas Koutsou
5a337cd274 mockbuild: add a swapfile to el8 aarch64 builds
The pulp client is very large and defines a lot of symbols in on
package, which causes very large memory usage on el8 aarch64 (presumably
because of 64k page sizes).
Adding a 1 GiB swapfile fixes the issue in our CI runners.
2023-10-18 21:14:46 +02:00
Tomáš Hozza
ebc256b073 Container: set the composer git revision during the build
When the container with osbuild-composer gets built in our CI or by
AppSRE, we do not set the composer version to any value (as we do when
we built RPMs). As a result, the version reported by composer is always
"devel". This is not useful for debugging and determining the used
version of composer. In addition, this information now gets exposed in
Koji builds, therefore it makes sense to make it useful.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-10-09 14:06:50 +02:00
Ondřej Budai
e40fe408d9 mockbuild: always install podman
Mock now uses podman for a bootstrap

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2023-08-22 10:12:13 +02:00
Sanne Raymaekers
d282cb0cff schutzbot: unregister test hosts 2023-08-21 16:54:45 +02:00
Sanne Raymaekers
a0af3a7776 schutzbot/terraform: update CI runners
Latest rhel-9 GA runner includes aardvark-dns, a weak dependency of
podman needed for networking.
2023-08-17 15:07:20 +02:00
Sanne Raymaekers
0a366eabe6 schutzbot/ci_details: allow python3.6
It is the default on RHEL 8.
2023-08-17 15:07:20 +02:00
Alexander Todorov
207e148303 Use newer RHEL 8.9 and 9.3 images for testing 2023-08-11 18:20:13 +03:00
Jakub Rusz
8734c35b7a Juan is no longer with Red Hat 2023-07-31 16:05:28 +03:00
Alexander Todorov
9593eec847 Fix for possibly undefined variable in CI script 2023-07-10 15:27:24 +02:00
Alexander Todorov
7fa81a514f Schedule a nightly CI pipeline against each PR
- don't report to Slack if SLACK_WEBHOOK_URL is not defined
- report GitHub statuses separately for regular pipeline & nightly
  pipeline
2023-07-10 13:11:43 +02:00
Alexander Todorov
47bbe8f0fe Bump spot instance time to 5hrs
b/c the timeout in GitLab is 5hrs and b/c the Image Tests job
on x86_64 RHEL 8.9 takes more than 4hr
2023-06-19 13:40:47 +02:00
Alexander Todorov
c0c4ecd937 Add my ssh key to the list of known keys 2023-06-15 08:54:57 +02:00
jabia99
76b9906332 Add rpm build logs as artifacts 2023-06-06 13:51:00 +02:00
Jakub Rusz
4b6cb10c55 CI: update centos-stream-8 images and snapshots 2023-05-30 16:45:30 +02:00