ci/cd: remove wait for LDAP sync

This commit is contained in:
Elias Schneider
2025-05-07 16:39:05 +02:00
parent 73c82ae43a
commit de648dd6da

View File

@@ -116,9 +116,6 @@ jobs:
docker logs -f pocket-id-sqlite &> /tmp/backend.log &
- name: Wait for backend to sync LDAP data
run: sleep 10
- name: Run Playwright tests
working-directory: ./frontend
run: npx playwright test
@@ -227,9 +224,14 @@ jobs:
-p 5432:5432 \
postgres:17
- name: Setup and Configure LLDAP Server
run: |
chmod +x ./scripts/tests/setup-lldap.sh
./scripts/tests/setup-lldap.sh
- name: Wait for Postgres to start
run: |
for i in {1..10}; do
for i in {1..5}; do
if docker exec pocket-id-db pg_isready -U postgres; then
echo "Postgres is ready"
break
@@ -238,11 +240,6 @@ jobs:
sleep 2
done
- name: Setup and Configure LLDAP Server
run: |
chmod +x ./scripts/tests/setup-lldap.sh
./scripts/tests/setup-lldap.sh
- name: Run Docker Container with Postgres DB and LDAP
run: |
docker run -d --name pocket-id-postgres \
@@ -255,9 +252,6 @@ jobs:
docker logs -f pocket-id-postgres &> /tmp/backend.log &
- name: Wait for backend to sync LDAP data
run: sleep 10
- name: Run Playwright tests
working-directory: ./frontend
run: npx playwright test