mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 15:53:00 +03:00
ci/cd: remove wait for LDAP sync
This commit is contained in:
18
.github/workflows/e2e-tests.yml
vendored
18
.github/workflows/e2e-tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user