jobs: repo-install-test: Use centos8 as distro name

We use centos8 instead of centos in all docker-playground.git setups and
the infrastructure there expects that kind of naming.

Related: OS#4888
Change-Id: Idfbb2c4fc1ca10741406c8ab8930dabe8ce632ee
This commit is contained in:
Pau Espin Pedrol 2020-12-07 12:53:41 +01:00
parent 11f89dfc6a
commit e935398ae9
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
distro:
- debian:
feeds: !!python/tuple [nightly, latest]
- centos:
- centos8:
feeds: !!python/tuple [next, nightly]
- job-template:

View File

@ -59,7 +59,7 @@ configure_osmocom_repo_debian() {
apt-get update
}
configure_osmocom_repo_centos() {
configure_osmocom_repo_centos8() {
echo "Configuring Osmocom repository"
# Generate this file, based on the feed:
# https://download.opensuse.org/repositories/network:osmocom:latest/CentOS_8_Stream/network:osmocom:latest.repo
@ -87,7 +87,7 @@ configure_keep_cache_debian() {
> /etc/apt/apt.conf.d/01keep-debs
}
configure_keep_cache_centos() {
configure_keep_cache_centos8() {
if [ -z "$KEEP_CACHE" ]; then
return
fi
@ -118,7 +118,7 @@ install_repo_packages_debian() {
apt install -y $(cat osmocom_packages.txt)
}
install_repo_packages_centos() {
install_repo_packages_centos8() {
echo "Installing all repository packages"
# Get a list of all packages from the repository