12 Commits

Author SHA1 Message Date
1b24516663
feat: add multi-master replication support
Some checks failed
CI Pipeline / lint (push) Successful in 20s
CI Pipeline / build (push) Successful in 56s
CI Pipeline / test (push) Failing after 1m32s
CI Pipeline / security-scan (push) Successful in 1m21s
CI Pipeline / autotag (push) Has been skipped
CI Pipeline / push (push) Has been skipped
CI Pipeline / update-cd (push) Has been skipped
- 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
2025-12-26 03:57:31 +01:00
989ad3fbfb
fix: run push job in same workflow after autotag
All checks were successful
CI Pipeline / build (push) Successful in 40s
CI Pipeline / security-scan (push) Successful in 1m29s
CI Pipeline / autotag (push) Successful in 18s
CI Pipeline / push (push) Successful in 21s
CI Pipeline / update-cd (push) Successful in 17s
CI Pipeline / lint (push) Successful in 19s
CI Pipeline / test (push) Successful in 56s
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
0.1.1
2025-12-26 02:00:35 +01:00
ee7f6bc7d8
fix: Handle missing initial tag in autotag step
All checks were successful
CI Pipeline / lint (push) Successful in 19s
CI Pipeline / build (push) Successful in 41s
CI Pipeline / test (push) Successful in 1m3s
CI Pipeline / security-scan (push) Successful in 1m15s
CI Pipeline / autotag (push) Successful in 17s
CI Pipeline / push (push) Has been skipped
CI Pipeline / update-cd (push) Has been skipped
v0.1.0
2025-12-26 01:52:00 +01:00
0789d09501
feat: Add autotag for automatic semantic versioning
Some checks failed
CI Pipeline / lint (push) Successful in 18s
CI Pipeline / build (push) Successful in 34s
CI Pipeline / test (push) Successful in 1m3s
CI Pipeline / security-scan (push) Successful in 1m23s
CI Pipeline / autotag (push) Failing after 22s
CI Pipeline / push (push) Has been skipped
CI Pipeline / update-cd (push) Has been skipped
#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
2025-12-26 01:31:31 +01:00
621a8bc8e1
Fix service account password parsing in tests
All checks were successful
CI Pipeline / lint (push) Successful in 18s
CI Pipeline / build (push) Successful in 39s
CI Pipeline / test (push) Successful in 1m4s
CI Pipeline / security-scan (push) Successful in 1m17s
CI Pipeline / push (push) Successful in 15s
CI Pipeline / update-cd (push) Has been skipped
2025-12-26 00:53:28 +01:00
3b8d3a0e85
Fix schema and overlay tests to use SASL EXTERNAL for cn=config access
Some checks failed
CI Pipeline / lint (push) Successful in 19s
CI Pipeline / build (push) Successful in 41s
CI Pipeline / security-scan (push) Successful in 1m21s
CI Pipeline / test (push) Failing after 1m1s
CI Pipeline / push (push) Has been skipped
CI Pipeline / update-cd (push) Has been skipped
2025-12-26 00:46:00 +01:00
578fa5350a
Downgrade artifact actions to v3 for Gitea compatibility
Some checks failed
CI Pipeline / push (push) Has been skipped
CI Pipeline / update-cd (push) Has been skipped
CI Pipeline / lint (push) Successful in 19s
CI Pipeline / build (push) Successful in 1m12s
CI Pipeline / test (push) Failing after 1m9s
CI Pipeline / security-scan (push) Successful in 2m14s
2025-12-25 18:02:49 +01:00
8c9758ddd6
Change runner label to ubuntu-latest
Some checks failed
CI Pipeline / build (push) Failing after 1m29s
CI Pipeline / test (push) Has been skipped
CI Pipeline / security-scan (push) Has been skipped
CI Pipeline / push (push) Has been skipped
CI Pipeline / update-cd (push) Has been skipped
CI Pipeline / lint (push) Successful in 38s
2025-12-25 16:05:58 +01:00
f15108abb7
Add complete CI pipeline with testing stages
Some checks failed
CI Pipeline / test (push) Has been cancelled
CI Pipeline / security-scan (push) Has been cancelled
CI Pipeline / push (push) Has been cancelled
CI Pipeline / update-cd (push) Has been cancelled
CI Pipeline / lint (push) Has been cancelled
CI Pipeline / build (push) Has been cancelled
Pipeline stages:
1. lint - Dockerfile linting with hadolint
2. build - Build Docker image and save as artifact
3. test - Integration tests (schemas, overlays, LDAP operations)
4. security-scan - Trivy vulnerability scanning
5. push - Push to registry (only after tests pass)
6. update-cd - Placeholder for CD pipeline trigger

Tests verify:
- Container starts and LDAP responds
- All OUs created (People, Groups, Services, Policies)
- Schemas loaded (core, cosine, inetorgperson)
- Overlays configured (memberof, refint, unique, ppolicy)
- Service accounts exist
- User/group operations work
- memberOf overlay updates user attributes
- refint overlay cleans up group membership on user delete
- unique overlay rejects duplicate uids
2025-12-25 16:01:30 +01:00
3508ac4f7f
Use Gitea variable for registry URL
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
2025-12-25 14:38:42 +01:00
e4b8d4e710
Add Gitea Actions CI/CD pipeline and runner configuration
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
- 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
2025-12-25 14:14:44 +01:00
c556664056
Initial Commit 2025-12-25 12:36:39 +01:00