Skip to content
Permalink
Browse files

Add wait during gateway roll-out

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information...
alexellis committed Oct 8, 2019
1 parent 0d5e781 commit b46be5a4d9d9d55da9c4b1e50d86346e0afccf2d
Showing with 5 additions and 3 deletions.
  1. +5 −3 contrib/ci.sh
@@ -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 comments on commit b46be5a

Please sign in to comment.
You can’t perform that action at this time.