chore: switch to docker compose setup on e2e workflow

This commit is contained in:
Karol Sójko
2023-02-07 07:35:10 +01:00
parent 5ed9bd243f
commit 4db0aef0ff
4 changed files with 23 additions and 41 deletions

View File

@@ -16,11 +16,7 @@ if [ -z "$AUTH_SERVER_PORT" ]; then
export AUTH_SERVER_PORT=3103
fi
if [ -z "$EXPOSED_FILES_SERVER_PORT" ]; then
export FILES_SERVER_PORT=3104
else
export FILES_SERVER_PORT=$EXPOSED_FILES_SERVER_PORT
fi
export FILES_SERVER_PORT=3104
if [ -z "$REVISIONS_SERVER_PORT" ]; then
export REVISIONS_SERVER_PORT=3105
@@ -371,4 +367,4 @@ printenv | grep API_GATEWAY_ | sed 's/API_GATEWAY_//g' > /opt/server/packages/ap
supervisord -c /etc/supervisord.conf
exec "$@"
exec "$@"

View File

@@ -6,7 +6,7 @@ LOGS_PATH="$1"
shift
attempt=0
while [ $attempt -le 180 ]; do
while [ $attempt -le 120 ]; do
attempt=$(( $attempt + 1 ))
echo "# Waiting for all services to be up (attempt: $attempt) ..."
ping_api_gateway_result=`curl -s $WAIT_FOR_URL | grep "Welcome"`