mirror of https://gerrit.osmocom.org/osmo-ci
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:
parent
11f89dfc6a
commit
e935398ae9
|
@ -6,7 +6,7 @@
|
||||||
distro:
|
distro:
|
||||||
- debian:
|
- debian:
|
||||||
feeds: !!python/tuple [nightly, latest]
|
feeds: !!python/tuple [nightly, latest]
|
||||||
- centos:
|
- centos8:
|
||||||
feeds: !!python/tuple [next, nightly]
|
feeds: !!python/tuple [next, nightly]
|
||||||
|
|
||||||
- job-template:
|
- job-template:
|
||||||
|
|
|
@ -59,7 +59,7 @@ configure_osmocom_repo_debian() {
|
||||||
apt-get update
|
apt-get update
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_osmocom_repo_centos() {
|
configure_osmocom_repo_centos8() {
|
||||||
echo "Configuring Osmocom repository"
|
echo "Configuring Osmocom repository"
|
||||||
# Generate this file, based on the feed:
|
# Generate this file, based on the feed:
|
||||||
# https://download.opensuse.org/repositories/network:osmocom:latest/CentOS_8_Stream/network:osmocom:latest.repo
|
# 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
|
> /etc/apt/apt.conf.d/01keep-debs
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_keep_cache_centos() {
|
configure_keep_cache_centos8() {
|
||||||
if [ -z "$KEEP_CACHE" ]; then
|
if [ -z "$KEEP_CACHE" ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
@ -118,7 +118,7 @@ install_repo_packages_debian() {
|
||||||
apt install -y $(cat osmocom_packages.txt)
|
apt install -y $(cat osmocom_packages.txt)
|
||||||
}
|
}
|
||||||
|
|
||||||
install_repo_packages_centos() {
|
install_repo_packages_centos8() {
|
||||||
echo "Installing all repository packages"
|
echo "Installing all repository packages"
|
||||||
|
|
||||||
# Get a list of all packages from the repository
|
# Get a list of all packages from the repository
|
||||||
|
|
Loading…
Reference in New Issue