mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-29 02:22:28 +00:00
Wait for authentik to start in ci test
This commit is contained in:
parent
03b3b6379b
commit
331c761a1c
@ -77,6 +77,11 @@ docker-compose up -d --remove-orphans --pull=never fullstack
|
|||||||
# wait for main container to be healthy
|
# wait for main container to be healthy
|
||||||
bash "$DIR/../wait-healthy" "$(docker-compose ps --all -q fullstack)" 120
|
bash "$DIR/../wait-healthy" "$(docker-compose ps --all -q fullstack)" 120
|
||||||
|
|
||||||
|
# Wait for authentik to be healthy, if it exists as a compose service
|
||||||
|
if [ "$(docker-compose ps --all -q authentik)" != "" ]; then
|
||||||
|
bash "$DIR/../wait-healthy" "$(docker-compose ps --all -q authentik)" 90
|
||||||
|
fi
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
rm -rf "$DIR/../../test/results"
|
rm -rf "$DIR/../../test/results"
|
||||||
docker-compose up --build cypress
|
docker-compose up --build cypress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user