Commit graph

56 commits

Author SHA1 Message Date
Sanne Raymaekers
e3f812f6fd Schutzfile: Pin osbuild version to use minimal required caps 2022-04-28 16:38:42 +02:00
Achilleas Koutsou
f4d40e3973 Schutzfile: pin osbuild for new inputs schema
Pinning osbuild to 99abc1373d5c6a85eb1a6ca6eaade0ee3c27ec18 which adds
support for the new array-of-objects inputs schema.
2022-04-27 11:51:25 +02:00
Jakub Rusz
65a777b286 Schutzfile: pin rpmrepo snapshots for fedora 2022-04-12 13:13:50 +02:00
Jakub Rusz
7666049210 ci: re-enabled Installer test on centos-stream-9
Anaconda with the fix released in the centos-stream-9 repos. Also fixing
ostree runner matrix.
2022-04-06 12:53:35 +02:00
Jakub Rusz
b81e3f28fb Schutzfile: add centos-8 pin + update structure
It is now possible to specify mutliple repository files, updating the
structure to enable that + adding centos-stream 8 pin.
2022-03-31 18:10:23 +02:00
Jakub Rusz
fbefd432c1 Schutzfile: Update centos-stream-9 repos 2022-03-25 16:00:39 +01:00
Jakub Rusz
417c381b44 Schutzfile: fix centos-stream-9 repo pin
During runner repo override the runner name is compared with the key in
Schutzfile. There was the word 'stream' missing for centos runners so
the repos were never acutally overwritten before. See
https://github.com/osbuild/gitlab-ci-terraform-executor/blob/main/prepare#L69
for more context
2022-03-25 16:00:39 +01:00
Christian Kellner
8c8f6f2cd5 spec: bump osbuild requirement to version 52
Needed due to the new `gpgkeys.fromtree` option in `org.osbuild.rpm`.
Pin osbuild version 52 in Schutzfile as well.
2022-03-05 21:04:24 +01:00
schutzbot
54eb8e41ff schutzfile: Update snapshots to 20220301 2022-03-05 11:37:12 +01:00
Antonio Murdaca
3b45a13ba2 Schutzfile: pin osbuild 50
CentOS Stream 8 is lagging behind, so let's pin osbuild v50,
under the assumption that things land in CS8 in the same order
they landed in RHEL8, so we don't run the risk of an old osbuild
with a new composer.

Fedora 35 is also stuck on an old osbuild, we will have to take
care to release osbuild 50 into F35 before the next composer.

Usually we would not want to pin like this, but we would
otherwise block the next composer release in RHEL.
2022-02-28 23:05:45 +00:00
schutzbot
bd2849340c schutzfile: Update snapshots to 20220227 2022-02-27 22:26:57 +00:00
schutzbot
e994f7b9d4 schutzfile: Update snapshots to 20220226 2022-02-27 18:27:45 +01:00
Sanne Raymaekers
2b5bd60141 Schutzfile: Pin centos-9 dependencies 2022-02-24 17:54:30 +01:00
schutzbot
fa589ba279 schutzfile: Update snapshots to 20220222 2022-02-24 17:54:30 +01:00
Sanne Raymaekers
7133dc7943 Schutzfile: Pin centos-9's osbuild commit 2022-02-22 19:24:12 +00:00
Jakub Rusz
14ee64321b Schutzfile: update rhel-9 rpmrepo snapshot 2022-02-16 10:49:55 +01:00
Jakub Rusz
a4c19eee85 Schutzfile: add RPMREPO to repo titles
This will make it easier to distinguish nightly rpmrepo snapshots from
actual nightly repositories in the test logs.
2022-02-08 14:28:06 +02:00
Tomas Hozza
d9d5a6c1a6 Schutzfile: don't pin osbuild on Fedora and drop F33
Drop unnecessary pinning of osbuild release on Fedora. The latest version
available in all supported Fedora releases should be good enough for
osbuild-composer testing.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2022-02-08 10:19:52 +01:00
Sanne Raymaekers
5617a0744a schutzfile: Snapshot updates
For rhel9 the CRBs snapshots ran successfully, appstream is still
broken.

Also update osbuild to mitigated el9 selinux issues.
2022-02-03 00:24:59 +01:00
sanne
8f8e871e3b schutzfile: Define nightly repos in schutzfile 2022-01-27 14:07:23 +01:00
sanne
704c5daf71 8.5
openstack probably won't work
2021-12-02 10:41:04 +01:00
Martin Sehnoutka
ea97adfdf8 spec: bump osbuild version to 41
This will be needed for new stages which are available only in osbuild
41.
2021-11-16 10:13:06 +01:00
Achilleas Koutsou
9f4c5b08e3 Schutzfile: remove osbuild version pin for RHEL 9.0 2021-11-10 14:54:31 +01:00
Ondřej Budai
83a35fb9b8 ci: remove 8.5 nightly testing
It no longer makes sense because:

- we don't make any changes to 8.5
- we don't regenerate test manifests for 8.5
- osbuild-composer for 8.5 is in the rhel-8.5.0 branch

Also, the latest-8.5.0 symlink was removed, which broke the CI.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-10-26 09:30:21 +01:00
Achilleas Koutsou
97f9d02d92 schutzbot: pin osbuild to current main for 8.6
First osbuild mock builds for 8.6

Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net>
2021-10-11 09:49:15 +02:00
Ondřej Budai
9403c6e795 schutzbot: pin osbuild to >=37 on all distros
The bootloader option in ostree.config stage is new in osbuild 37. However,
osbuild 37 contains a bug that prevents it from working in certain cases,
thus we need to pin to a slightly newer commit that contains a fix for it:

bug: https://github.com/osbuild/osbuild/issues/822
fix: https://github.com/osbuild/osbuild/pull/824

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-09-27 20:10:04 +02:00
Ondřej Budai
e64cc2effe schutzfile: remove rhel-8.3
We don't run on RHEL 8.3 anymore.

Note that the koji-osbuild rev-deps test is not run anymore, therefore
it's fine to drop dependants, see:
https://github.com/osbuild/osbuild-composer/issues/1559

We should reintroduce it though.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-09-24 17:03:53 +02:00
Martin Sehnoutka
fccf3431df Schutzfile: bump osbuild to v36 2021-09-13 13:14:49 +02:00
Christian Kellner
230572c121 ci: unpin osbuild for RHEL 9.0
Take osbuild from the nightlies.
2021-08-28 09:20:19 +02:00
Christian Kellner
d6d40c8416 distro/rhel85: dont pin osbuild for rhel-8.5
Use osbuild from the 8.5 repos (should be osbuild 33 right now).
2021-08-28 09:20:19 +02:00
Xiaofeng Wang
c683c70d8a test: Update ostree-ng.sh to cover bug BZ#1951087
Update the first blueprint to use "normal" kernel instead of to
use "rt" kernel. Then upgrade to "rt" kernel.

To work with this bug fix, we need osbuild fix and have to pin to
osbuild latest commit.

The customizations.user is removed from upgrade blueprint to work
with this bug fix. But it's for RHEL 8.5 only.
2021-08-27 12:56:54 +02:00
Ondřej Budai
c0b9382036 ci: pin osbuild for 9.0
We need a newer version there.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-08-11 11:22:59 +02:00
Martin Sehnoutka
b244227a2f Schutzfile: pin osbuild to v30
The new RHSM mechanism with a fallback is now available in osbuild > 30.
2021-08-09 12:40:23 +02:00
Ondřej Budai
3ef9a397bf Schutzfile: bump osbuild for RHEL 8.5
Requires support for new features not yet released in RHEL 8.5
2021-07-24 15:54:00 +02:00
Ondřej Budai
3ec917062f ci: upload rpms built in RHEL 8 CDN buildroot into rhel-8-cdn directory
Let's explain how RPMs for RHEL are built:

We use a subscribed RHEL 8.x machine and mock build these on it. Mock
initializes its own buildroot based on the latest RHEL 8 CDN content, see[1].
This means that the minor version of the buildroot is independent of the minor
version of the host.

However, we currently upload RPMs to a directory whose name consists also of
the minor version of the host. Our hosts are currently running RHEL 8.3 so
the RPMs are uploaded into rhel-8.3 directory despite them being built in the
RHEL 8.4 buildroot (RHEL 8 CDN buildroot specifically). This means that
we cannot guarantee that they are installable on RHEL 8.3 which is weird.

This commit adds a special case for hosts that run on subscribed RHEL and
thus build RPMs in a buildroot constructed from RHEL CDN. These RPMs are
now uploaded into rhel-8-cdn directory. This change more accurately reflects
the way we build our RPMs and removes some confusion.

Also, we need to bump osbuild commit so we have a version that already has
the rhel-8-cdn change in it.

[1]: https://github.com/rpm-software-management/mock/blob/main/mock-core-configs/etc/mock/templates/rhel-8.tpl#L37

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-07-21 20:02:03 +02:00
Ondřej Budai
c036f96cf5 schutzfile: drop osbuild pin for CentOS Stream 8
We already ship 29 in CentOS Stream 8, eb74ddf2 is 28.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-07-07 13:25:26 +02:00
Xiaofeng Wang
bc76f437a0 Pin osbuild to latest commit to fix bz#1975554 2021-07-01 13:34:12 +02:00
Ondřej Budai
602b97b2a8 schutzfile: remove osbuild pins for Fedora
osbuild 28 already landed in both Fedora 32 and Fedora 33

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-06-10 14:59:08 +02:00
Ondřej Budai
973b4b2714 distro/rhel84: build qcow2 images with compat=0.10
By default, `qemu-img convert` creates qcow2 images usable in qemu 1.1 and
newer. RHEL 8 guest images are meant to be bootable on RHEL 6 though.
Unfortunately, RHEL 6 has qemu 0.12, therefore these images cannot be used
there.

To fix this, we need to use the new qcow2_compat option in qemu assembler
to override the default compat version and make qcow2 images that can be used
in qemu 0.10 and newer.

For this, we need osbuild 28 that isn't yet available in of any of
downstreams, therefore we need to pin it everywhere.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-04-10 19:18:13 +01:00
Xiaofeng Wang
3a0d1bb2de test: Remove selinux work around and Schutzfile osbuild pinning
Since selinux fix has been release in osbuild 27.1 and it's in
nightly compose. It's time to remove selinux work around and Schutzfile
osbuild pinning
2021-04-07 19:57:06 +01:00
Achilleas Koutsou
b9e98a65a3 Schutzfile: pin osbuild for rhel-8.4
Pinning to v27: Released, but not available in repo snapshots yet.

Contains fix for home directories when using ostree:
https://github.com/osbuild/osbuild/pull/613
2021-03-17 18:12:17 +00:00
Achilleas Koutsou
ae4a1384e3 Schutzfile: pin osbuild for rhel-8.4
The new rhel-edge-installer requires unreleased fixes:
https://github.com/osbuild/osbuild/pull/610
https://github.com/osbuild/osbuild/pull/611
2021-03-17 18:12:17 +00:00
Achilleas Koutsou
3618611d6f Schutzfile: pin osbuild for rhel-8.4
We need to test the PR before a new osbuild is released.  Pinning to
current `main`.

In particular, we need to test against
https://github.com/osbuild/osbuild/pull/600
2021-03-17 18:12:17 +00:00
Aleksandar Todorov
6c546fa257 Schutzbot: Start building & testing on aarch64 for RHEL/CentOS
For now we're testing only on released streams in AWS because
we don't have aarch64 support in PSI.
2021-03-12 11:59:21 +00:00
Ondřej Budai
ce23f97cb9 schutzbot: move koji-osbuild revdep test to Fedora 33
Fedora 32 will be soon EOL, let's prepare for it sooner rather than later.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-02-23 14:51:04 +01:00
Ondřej Budai
ed428879a2 schutzbot: use downstream osbuild for Fedora and RHEL 8.4
It landed in all these distros. We need to wait a bit for CentOS Stream
though.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-02-23 14:51:04 +01:00
Tom Gundersen
5f4a752158 schutzfile: pin osbuild dependency
In order to land a PR before osbuild reaches the stable repositories
we pin the verson to test against (which has been pushed out).

This is an exception from our usual procedures as we would otherwise
not be able to land this bug fix for RHEL8.4.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-02-20 20:01:15 +01:00
Tom Gundersen
a76f15648c schutzfile: test against osbuild 26 on RHEL 8.3
So we can update our production setups.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-02-20 20:01:15 +01:00
Ondřej Budai
c2c4bf39c3 schutzfile: test against osbuild 25 on RHEL 8.3
So we can update our production setups.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-02-17 20:35:13 +01:00
Jacob Kozol
52823e3c43 spec: update to osbuild version 24
In order to add the newly supported sysconfig stage, the osbuild
dependency needs to be updated to version 24. The version is updated to
24 in the specfile and README. Also, for testing purposes, the Schutzfile
now points to the commit hash for osbuild version 24 for rhel-8.3 tests.
2021-02-09 14:13:25 +01:00