mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix stack startup issue in UI tests
This commit is contained in:
parent
9e5b2d1b2d
commit
56fa60904b
1 changed files with 3 additions and 9 deletions
|
|
@ -46,21 +46,15 @@ if [ "$integration" = "docker" ] ; then
|
|||
sed -i "s@bunkerity/bunkerweb-scheduler:.*@scheduler-tests@" docker-compose.yml
|
||||
sed -i "s@bunkerity/bunkerweb-ui:.*@ui-tests@" docker-compose.yml
|
||||
|
||||
# Start stack
|
||||
docker-compose pull bw-docker-proxy app1
|
||||
# shellcheck disable=SC2181
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "❌ Pull failed"
|
||||
exit 1
|
||||
fi
|
||||
cleanup_stack
|
||||
|
||||
echo "🌐 Starting stack ..."
|
||||
docker compose up -d
|
||||
docker compose up --build -d
|
||||
# shellcheck disable=SC2181
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "🌐 Up failed, retrying ... ⚠️"
|
||||
cleanup_stack
|
||||
docker compose up -d
|
||||
docker compose up --build -d
|
||||
# shellcheck disable=SC2181
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "🌐 Up failed ❌"
|
||||
|
|
|
|||
Loading…
Reference in a new issue