From 409b0301dcfb2462f05d8c9080e8540b3f902fed Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 3 Apr 2023 09:45:06 +1000 Subject: [PATCH] Update CI/CD to use specific test ldap instance --- .env.testing | 2 +- .gitlab-test.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.env.testing b/.env.testing index 34bbb3e..e132564 100644 --- a/.env.testing +++ b/.env.testing @@ -43,7 +43,7 @@ PUSHER_APP_CLUSTER=mt1 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" -LDAP_HOST=ldap +LDAP_HOST=test_ldap LDAP_PORT=389 LDAP_BASE_DN="dc=Test" LDAP_USERNAME="cn=admin,dc=Test" diff --git a/.gitlab-test.yml b/.gitlab-test.yml index 7eb831d..5226ab6 100644 --- a/.gitlab-test.yml +++ b/.gitlab-test.yml @@ -7,7 +7,7 @@ test: # resulting in the testing to fail on the first run. services: - name: osixia/openldap:latest - alias: ldap + alias: test_ldap command: ["--loglevel","debug"] variables: @@ -16,8 +16,6 @@ test: LDAP_BASE_DN: "dc=Test" LDAP_DOMAIN: "Test" LDAP_ADMIN_PASSWORD: test - LDAP_HOST: ldap - LDAP_PORT: 389 #CI_DEBUG_SERVICES: "true" tags: