Commit graph

389 commits

Author SHA1 Message Date
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
Sanne Raymaekers
e27a866917 schutzbot/terraform: update
Adds a newer centos-stream-8 build.
2023-05-25 10:14:32 +02:00
Jakub Rusz
bc28daf6b6 Update terraform SHA
Centos-stream-9 images are gone for some reason, let's use new ones.
2023-05-03 15:25:34 +02:00
Gianluca Zuccarelli
6326d072e9 schutzbot: add gzuccare ssh-key 2023-04-25 14:05:09 +02:00
Tomáš Hozza
808118431f mockbuild.sh: use dnf to install local package, not rpm
DNF has more elaborate locking system and can wait for other instances of
itself when installing packages. Using rpm directly to install local
package is causing failures in CI due to it not being able to acquire
lock on `/var/lib/rpm/.rpm.lock`.

Using DNF should improve the situation, although there is no good
documentation to link and support this claim for sure.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-24 20:40:58 +02:00
Tomáš Hozza
7785330fb5 Good bye Lars and David
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-24 09:31:03 +02:00
Jakub Rusz
c59a92b2d9 rpmbuild: add fedora-38 2023-03-29 14:32:06 +03:00
Alexander Todorov
e064c12449 Update test suite after rebase to weldr-client-35.9
in order to avoid failures in nightly pipelines b/c JSON format has
changed
2023-02-28 11:15:49 +01:00
Jakub Rusz
004c4e8acc Gitlab CI: Run libvirt.sh tests on GCP
We can now use GCP runners in our CI. Let's test them out by running all
of libvirt tests for starters.
2023-02-20 14:24:09 +01:00
Juan Abia
5a62453190 Remove cloud cleaner
cloud cleaner is now being executed in it's own repo.
2023-02-15 17:23:35 +01:00
Tomáš Hozza
7a5c2641ac schutzbot: delete ckellner's SSH key
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-01-18 12:53:30 +01:00
Ondřej Budai
d12d9674d6 terraform: update to the latest definitions
Currently, we still have the issue with rogue instances. The latest commit in
the gitlab-ci-terraform repository prevents that by limiting the validity
of the spot fleet request to 4 hours which matches our maximum job duration
set in GitLab.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2023-01-10 14:26:18 +01:00
Alexander Todorov
d3c6eba7bf Switch 8.6 and 9.0 GA to 8.7 and 9.1 GA 2023-01-10 00:28:23 +01:00
Alexander Todorov
28a6346d87 ci: Use sudo before localectl
should help resolve:

+ localectl set-locale LANG=en_US.UTF-8
Failed to issue method call: Interactive authentication required.
2023-01-10 00:28:23 +01:00
Ondřej Budai
97c8622a0c ci: update Fedora 37 runners to GA
We used pre-GA repositories previously. Since GA is now out, let's switch to
it. We need to do two changes:

- use the latest terraform definitions that use the GA images
- update Schutzfile to use GA repositories (and updates)

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-11-28 16:56:44 +01:00
Ondřej Budai
ccb3a67d94 ci: use the latest terraform config to fix missing images
cloud-cleaner deleted all our nightly and CS9 testing images, let's replace
them.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-11-24 09:02:29 +01:00
Thomas Lavocat
4e7b021514 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.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-11-10 20:56:21 +01:00
Simon de Vlieger
1612d9cb80 ci: add my SSH keys to the CI ssh keys 2022-11-09 11:31:57 +01:00
Jakub Rusz
fe1bf7a7bf Update terraform SHA
Fedora-37 was using "ci-ssd" instance in RHOS-01 which does not support
nested KVM. This SHA switches them to use "ci" instances which do
support nested kvm.
2022-11-07 16:10:41 +01:00
Jakub Rusz
f2671e0074 Update terraform SHA
This update removes all repos on the f-37 runner during provisioning
which should resolve issues with "updates-testing" repo being enabled
and not overwritten.
2022-10-27 12:47:45 +02:00
Sanne Raymaekers
423b4b77d7 schutzbot/update_github_status: fix release fast-forwarding
The checkout in the working directory is a shallow clone with gitlab as
a remote. As a result fast-forwarding failed due to not recognizing the
remote release branch as an ancestor of $CI_COMMIT_SHA.

This clones (with `--bare`) the github remote in a separate
directory. It should not be necessary to remove the release-ff-clone
directory each time, simply fetch if it already exists.
2022-10-21 10:54:30 +02:00
Sanne Raymaekers
545ce3412e schutzbot/mockbuild: stop running mock as root
Running mock as root is broken, this commit can be reverted once this is
fixed.

rhbz#2135203
2022-10-17 18:08:31 +02:00
Jakub Rusz
a23b1c4b3e rpmbuild: build rpms on RHEL 8.8 and 9.2 2022-10-14 12:25:36 +02:00
Achilleas Koutsou
d7d098a857 CI: update terraform SHA for Fedora 37 runners 2022-09-13 16:06:19 +01:00
Sanne Raymaekers
6a2e719c76 schutzbot: Fast-forward release branch after green main run
The release branch can be tracked by stage deployments to make sure CI
is green before deploying to stage.
2022-09-02 11:05:28 +02:00
Jakub Rusz
de6b8e8f5b Update terraform SHA with more aarch64 runner options
This commit adds the option to also provision c6g.large machines in
addition to c7g.large machines in AWS.
2022-08-23 15:31:47 +03:00
Alexander Todorov
f451e0291a Modify repositories/rhel-xy.json file before testing nightly compose
Fixes #1318

- uses a wildcard match for sed in order to replace only lines which
  match and keep the rest intact
2022-08-18 14:00:16 +03:00
Alexander Todorov
860b122f2c tests: Remove useless JSON file overrides
See comment
https://github.com/osbuild/osbuild-composer/pull/2881/files#r940065803

for explanation why
2022-08-10 16:33:34 +03:00
Tomas Hozza
444f85ac5c schutzbot: add thozza's SSH public key 2022-08-04 11:55:43 +02:00
Jakub Rusz
cf562dbb57 CI: drop /tmp/artifacts upload to Gitlab
Contents of this folder are uploaded to S3 with shutzbot/upload_artifacts.sh
Also fixing epel installation in the mentioned script.
2022-07-26 17:08:32 +02:00