Skip to content

Commit 331c761

Browse files
committed
Wait for authentik to start in ci test
1 parent 03b3b63 commit 331c761

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/ci/fulltest-cypress

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ docker-compose up -d --remove-orphans --pull=never fullstack
7777
# wait for main container to be healthy
7878
bash "$DIR/../wait-healthy" "$(docker-compose ps --all -q fullstack)" 120
7979

80+
# Wait for authentik to be healthy, if it exists as a compose service
81+
if [ "$(docker-compose ps --all -q authentik)" != "" ]; then
82+
bash "$DIR/../wait-healthy" "$(docker-compose ps --all -q authentik)" 90
83+
fi
84+
8085
# Run tests
8186
rm -rf "$DIR/../../test/results"
8287
docker-compose up --build cypress

0 commit comments

Comments
 (0)