Files
Jörn Friedrich Dreyer b9dc5cb609 fix(ci): let the openldap image import the test LDIF files (#4057)
The ldap-server step copied our LDIF files to a directory the bitnami
image never reads, so the image created its own default tree. Our
entrypoint override then polled until LDAP answered and imported the
files with ldapadd. That races with the image setup: it answers on a
temporary slapd that gets shut down when setup finishes. In
https://ci.opencloud.rocks/repos/3/pipeline/5531/21 10_base.ldif failed
with "Already exists" and 20_users.ldif was cut off by the slapd
shutdown, so there was no admin user and the multiTenancy server never
became ready.

We now point LDAP_CUSTOM_LDIF_DIR at the LDIF files. The image imports
them during setup, before slapd listens, and skips its default tree.
The override only creates the TLS certificate.

Assisted-by: Claude Code:claude-opus-5-5

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-18 16:48:13 +01:00
..
2024-10-02 10:41:15 +05:45