distro/rhel84: add centos 8 stream support
The image definition is shared with the latest RHEL 8.y one (8.4 currently). I expect that we the introduction of 8.5 support, we point the centos 8 distro at it. The test repositories and manifests use the official CentOS composes. From what I can tell, they are persistent. This is not guaranteed though, so we might need to switch to RPMRepo at some point. The "classic" CentOS 8 should also be buildable but due to the chicken and egg issue (this commit will get into Centos "8.4" but Centos "8.4" isn't a thing yet), we cannot test it and therefore it might be broken. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
6feba70758
commit
5eb402415d
26 changed files with 76009 additions and 114 deletions
|
|
@ -6,7 +6,7 @@ source /etc/os-release
|
|||
# koji and ansible are not in RHEL repositories. Depending on them in the spec
|
||||
# file breaks RHEL gating (see OSCI-1541). Therefore, we need to enable epel
|
||||
# and install koji and ansible here.
|
||||
if [[ $ID == rhel ]]; then
|
||||
if [[ $ID == rhel || $ID == centos ]]; then
|
||||
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
||||
sudo dnf install -y koji ansible
|
||||
fi
|
||||
|
|
@ -18,7 +18,7 @@ sudo cp -a /usr/share/tests/osbuild-composer/composer/*.toml \
|
|||
# Copy rpmrepo snapshots for use in weldr tests
|
||||
sudo mkdir -p /etc/osbuild-composer/repositories
|
||||
# Copy all fedora repo overrides
|
||||
sudo cp -a /usr/share/tests/osbuild-composer/repositories/fedora-*.json \
|
||||
sudo cp -a /usr/share/tests/osbuild-composer/repositories/{fedora,centos}-*.json \
|
||||
/etc/osbuild-composer/repositories/
|
||||
# RHEL nightly repos need to be overriden in rhel-8.json and rhel-8-beta.json
|
||||
case "${ID}-${VERSION_ID}" in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue