debian-forge-composer/schutzbot
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
..
ci_details.sh tests: Fail if python36 is installed. Closes #794 2020-10-19 11:21:39 +03:00
containerbuild.sh containers: simplify Dockerfile and container build 2020-12-22 15:27:39 +01:00
deploy.sh ci: upload rpms built in RHEL 8 CDN buildroot into rhel-8-cdn directory 2021-07-21 20:02:03 +02:00
mockbuild.sh ci: upload rpms built in RHEL 8 CDN buildroot into rhel-8-cdn directory 2021-07-21 20:02:03 +02:00
prepare-rhel-internal.sh tests: Enable use of custom osbuild-composer repo 2021-06-25 15:10:40 +03:00
run_cloud_cleaner.sh tests: update cloud-cleaner 2021-06-25 14:20:07 +03:00
save_journal.sh ci: add GitLab CI 2021-04-14 09:18:06 +02:00
send_webhook.py Send webhooks without credentials 2021-02-10 18:31:56 +00:00
slack_notification.sh ci: add slack notfications 2021-07-12 11:21:01 +03:00
team_ssh_keys.txt schutzbot: akoutsou ssh keys 2021-07-09 09:55:40 +02:00
terraform CI: update terraform sha 2021-07-21 13:04:51 +02:00
update_github_status.sh tests: Don't overwrite CI statuses on GitHub branched for nightly pipelines 2021-07-14 12:12:48 +02:00