Skip to content
Snippets Groups Projects
Commit b46be5a4 authored by Alex Ellis (OpenFaaS Ltd)'s avatar Alex Ellis (OpenFaaS Ltd)
Browse files

Add wait during gateway roll-out

parent 0d5e7813
No related branches found
No related tags found
No related merge requests found
......@@ -4,9 +4,11 @@ set -e
./deploy_stack.sh --no-auth
docker service update func_gateway --image=openfaas/gateway:latest-dev
docker service ps --no-trunc func_gateway
# The timeout is required on Travis due to some tasks not starting in
# time and being deemed to have failed.
docker service update func_gateway --image=openfaas/gateway:latest-dev \
--update-failure-action=continue \
--update-monitor=20s
# Script makes sure OpenFaaS API gateway is ready before running tests
wait_success=false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment