slapadd doesn't understand LDIF change records (changetype: modify).
Move TLS configuration attributes directly into the cn=config entry
instead of using a separate modify operation.
Add stage 7 to trigger terraform-docker-openldap pipeline via Gitea API
after successfully pushing a new image to the registry. This enables
automatic deployment of new container versions.
Requires GITEA_TOKEN secret and GITEA_URL variable to be configured.
Check if olcSyncRepl and olcMirrorMode attributes exist before
deciding whether to use 'add' or 'replace' operation. Previously
the script always used 'replace' which fails on first-time setup
when the attributes don't exist yet.
The syncprov.so module was being loaded in init-config.sh but the
required Alpine package was not installed, causing slapadd to fail
with "file not found" error.
- Add syncprov module to init-config.sh
- Create init-replication.sh for configuring N-way multi-master
- Update entrypoint to handle replication configuration
- Support LDAP_REPLICATION_ENABLED, LDAP_SERVER_ID, LDAP_REPLICATION_HOSTS
- Replica servers can sync DIT from existing masters
Gitea doesn't trigger new workflows when tags are pushed by the
workflow itself. Modified push job to:
- Depend on autotag job
- Use autotag outputs for version when not triggered by tag ref
- Run when autotag succeeds OR when triggered by tag push
#minor
Pipeline now automatically creates version tags after successful tests:
- Uses autotag to determine version bump from commit messages
- #major in commit = major version bump
- #minor in commit = minor version bump
- Default = patch version bump
- Tag push triggers registry push and CD update
Flow:
1. Push to main → lint → build → test → security-scan → autotag
2. Autotag creates v*.*.* tag → triggers new workflow
3. Tag workflow → push to registry → update-cd
- Add workflow for building and pushing Docker image to Nexus registry
- Configure semantic versioning from git tags (v1.0.0 -> 1.0.0, latest)
- Add self-hosted runner configuration with Alpine Linux support
- Runner uses docker:27-cli image for Docker-in-Docker builds