Skip to content

Commit b13202c

Browse files
committed
fix: switch to osixia/openldap for CI integration tests
bitnami/openldap tags 2.6 and latest don't exist anymore. osixia/openldap:1.5.0 is a well-maintained alternative.
1 parent 0e0441e commit b13202c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,18 @@ jobs:
6262
contents: read
6363
services:
6464
openldap:
65-
image: bitnami/openldap:latest
65+
image: osixia/openldap:1.5.0
6666
ports:
67-
- 1389:1389
67+
- 1389:389
6868
env:
69-
LDAP_ROOT: dc=example,dc=com
70-
LDAP_ADMIN_USERNAME: admin
69+
LDAP_ORGANISATION: Example Inc
70+
LDAP_DOMAIN: example.com
7171
LDAP_ADMIN_PASSWORD: adminpassword
72-
LDAP_USERS: testuser,resetuser
73-
LDAP_PASSWORDS: testpass,resetpass
7472
options: >-
75-
--health-cmd "ldapsearch -x -H ldap://localhost:1389 -b 'dc=example,dc=com' -D 'cn=admin,dc=example,dc=com' -w adminpassword"
73+
--health-cmd "ldapsearch -x -H ldap://localhost:389 -b 'dc=example,dc=com' -D 'cn=admin,dc=example,dc=com' -w adminpassword"
7674
--health-interval 10s
7775
--health-timeout 5s
78-
--health-retries 5
76+
--health-retries 10
7977
mailhog:
8078
image: mailhog/mailhog:v1.0.1
8179
ports:

0 commit comments

Comments
 (0)