mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Add wait during gateway roll-out
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
parent
0d5e78131d
commit
b46be5a4d9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user