mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 16:41:19 +00:00
CI: For LDAP tests, switch to using OpenLDAP slapd running on
CentOS Stream 9. Github: closes #450 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
5
test/travis_Dockerfile_slapd.centos
Normal file
5
test/travis_Dockerfile_slapd.centos
Normal file
@ -0,0 +1,5 @@
|
||||
FROM quay.io/centos/centos:stream9
|
||||
RUN dnf install -y epel-release && \
|
||||
dnf install -y openldap openldap-clients openldap-servers openldap-devel && \
|
||||
dnf -y clean all --enablerepo='*'
|
||||
CMD /usr/sbin/slapd -u ldap -d1 '-h ldap:// ldapi:///'
|
@ -1,5 +0,0 @@
|
||||
FROM quay.io/centos/centos:7
|
||||
RUN yum install -y yum-utils && \
|
||||
yum install -y openldap openldap-clients openldap-servers openldap-devel && \
|
||||
yum -y clean all --enablerepo='*'
|
||||
CMD /usr/sbin/slapd -u ldap -d1 '-h ldap:// ldapi:///'
|
@ -97,7 +97,7 @@ fi
|
||||
# For LDAP testing, run slapd listening on port 8389 and populate the
|
||||
# directory as described in t/modules/ldap.t in the test framework:
|
||||
if test -v TEST_LDAP -a -x test/perl-framework/scripts/ldap-init.sh; then
|
||||
docker build -t httpd_ldap -f test/travis_Dockerfile_slapd.centos7 test/
|
||||
docker build -t httpd_ldap -f test/travis_Dockerfile_slapd.centos test/
|
||||
pushd test/perl-framework
|
||||
./scripts/ldap-init.sh
|
||||
popd
|
||||
|
Reference in New Issue
Block a user