Defect #44224
open
Setup LDAP Server on Github Actions
Added by Holger Just 23 days ago.
Updated 18 days ago.
Description
The functional LDAP Tests can currently not run on Github actions as indicated by the following message:
(Test LDAP server not configured)
The test LDAP server should be configured in the action runner so that the LDAP tests are run.
Files
On my local environment, I was able to run the ldap tests against: osixia/openldap:1.3.0.
The LDAP section from my docker-compose looks like:
ldap:
image: osixia/openldap:1.3.0
hostname: ldap.example.org
environment:
LDAP_TLS_VERIFY_CLIENT: try
LDAP_DOMAIN: redmine.org
LDAP_ORGANISATION: redmine.org
LDAP_ADMIN_PASSWORD: secret
ports:
- 389:389
- 636:636
volumes:
- ./test/fixtures/ldap/01-acl.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/01-acl.ldif
- ./test/fixtures/ldap/test-ldap-docker.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/99-test-ldap.ldif
command: --copy-service --loglevel debug
I've attached the configuration files.
Also available in: Atom
PDF