Add Lasso in centos ci builds #2681

This commit is contained in:
Maxime Besson 2022-01-04 10:19:40 +01:00
parent 85b12f7428
commit 85a7a8cfbd
2 changed files with 13 additions and 0 deletions

View File

@ -53,6 +53,7 @@ build_centos_7:
script:
- rm -f /etc/yum.repos.d/CentOS-Sources.repo
- yum -y install epel-release
- scripts/ci-install-lasso-centos
- make dist
- ci-build-pkg
@ -63,6 +64,7 @@ build_centos_8:
- yum-config-manager --enable PowerTools
- yum-config-manager --enable AppStream
- yum -y install epel-release
- scripts/ci-install-lasso-centos
- make dist
- ci-build-pkg

11
scripts/ci-install-lasso-centos Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
curl https://lemonldap-ng.org/_media/rpm-gpg-key-ow2 > /etc/pki/rpm-gpg/RPM-GPG-KEY-OW2
cat > /etc/yum.repos.d/lemonldap-ng-extras.repo <<\EOF
[lemonldap-ng-extras]
name=LemonLDAP::NG extra packages
baseurl=https://lemonldap-ng.org/redhat/extras/$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OW2
EOF
yum -y install lasso-perl