Skip to content

Commit

Permalink
Fix CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvanes committed Sep 24, 2024
1 parent 9be8dbd commit 821ed1f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
image: osixia/openldap:latest
ports:
- 389:389
volumes:
- ./misc/schema:/opt/misc/schema
env:
LDAP_SEED_INTERNAL_SCHEMA_PATH: "${CI_PROJECT_DIR}/misc/schema"
LDAP_SEED_INTERNAL_SCHEMA_PATH: /opt/misc/schema
LDAP_DOMAIN: services.sram.tld
LDAP_ADMIN_USERNAME: admin
LDAP_ADMIN_PASSWORD: secret
Expand Down
14 changes: 14 additions & 0 deletions run-ldapci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
docker rm ldap-ci || true
docker run -ti \
-e "LDAP_SEED_INTERNAL_SCHEMA_PATH=/opt/misc/schema" \
-e "LDAP_DOMAIN=services.sram.tld" \
-e "LDAP_ADMIN_USERNAME=admin" \
-e "LDAP_ADMIN_PASSWORD=secret" \
-e "LDAP_CONFIG_PASSWORD=config" \
-e "LDAP_BASE_DN=dc=services,dc=sram,dc=tld" \
-e "LDAP_TLS=true" \
-v "./misc/schema:/opt/misc/schema" \
-p 389:389 \
--name ldap-ci \
osixia/openldap:latest

0 comments on commit 821ed1f

Please sign in to comment.