mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Update Traefik dashboard URL in tests
Signed-off-by: Tortue Torche <126358-tortuetorche@users.noreply.gitlab.com>
This commit is contained in:
parent
781152570c
commit
29147a8a03
@ -46,7 +46,7 @@ docker swarm init
|
||||
# Parse the Docker traefik stack file to deploy
|
||||
envsubst '$TRAEFIK_VERSION,$BASE_DOMAIN' < dockerfiles/docker-stack-traefik.yml > dockerfiles/docker-stack-traefik-final.yml
|
||||
docker stack deploy -c dockerfiles/docker-stack-traefik-final.yml traefik --with-registry-auth
|
||||
bash -c "timeout 20 bash -c 'while ! (echo > /dev/tcp/cluster/443 && curl -fks --max-time 2 https://traefik.$BASE_DOMAIN/dashboard/) >/dev/null 2>&1; do sleep 1; done;'"
|
||||
bash -c "timeout 20 bash -c 'while ! (echo > /dev/tcp/cluster/443 && curl -fks --max-time 2 https://traefik.$BASE_DOMAIN) >/dev/null 2>&1; do sleep 1; done;'"
|
||||
|
||||
# Deploy Portainer test
|
||||
echo -n $PSU_PASSWORD | docker secret create portainer-password -
|
||||
|
Loading…
Reference in New Issue
Block a user