mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
gitlab-ci: Add CentOS 8 to CI
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Oct 8 08:27:50 UTC 2019 on sn-devel-184
This commit is contained in:
committed by
Andreas Schneider
parent
9cd0d15370
commit
c9d302f20b
@@ -218,6 +218,23 @@ if [ ! -f /usr/bin/python3 ]; then
|
||||
fi
|
||||
"""
|
||||
|
||||
CENTOS8_YUM_BOOTSTRAP = r"""
|
||||
#!/bin/bash
|
||||
{GENERATED_MARKER}
|
||||
set -xueo pipefail
|
||||
|
||||
yum update -y
|
||||
yum install -y dnf-plugins-core
|
||||
yum install -y epel-release
|
||||
yum config-manager --set-enabled PowerTools -y
|
||||
yum update -y
|
||||
|
||||
yum install -y \
|
||||
--setopt=install_weak_deps=False \
|
||||
{pkgs}
|
||||
|
||||
yum clean all
|
||||
"""
|
||||
|
||||
DNF_BOOTSTRAP = r"""
|
||||
#!/bin/bash
|
||||
@@ -473,6 +490,22 @@ RPM_DISTS = {
|
||||
'gnutls-devel': 'compat-gnutls34-devel',
|
||||
}
|
||||
},
|
||||
'centos8': {
|
||||
'docker_image': 'centos:8',
|
||||
'vagrant_box': 'centos/8',
|
||||
'bootstrap': CENTOS8_YUM_BOOTSTRAP,
|
||||
'replace': {
|
||||
'lsb-release': 'redhat-lsb',
|
||||
'@development-tools': '"@Development Tools"', # add quotes
|
||||
'libsemanage-python': 'python3-libsemanage',
|
||||
'lcov': '', # does not exist
|
||||
'perl-JSON-Parse': '', # does not exist?
|
||||
'perl-Test-Base': 'perl-Test-Simple',
|
||||
'policycoreutils-python': 'python3-policycoreutils',
|
||||
'python3-crypto': '',
|
||||
'quota-devel': '', # FIXME: Add me back, once available!
|
||||
}
|
||||
},
|
||||
'fedora28': {
|
||||
'docker_image': 'fedora:28',
|
||||
'vagrant_box': 'fedora/28-cloud-base',
|
||||
|
||||
Reference in New Issue
Block a user