Fix zuul merger graceful stops
Previously the merger docker-compose restart value was set to always. This caused the merger to immediately restart after asking it to gracefully stop and our check for the merger stopping: docker-compose ps -q | xargs docker wait never saw it as being stopped. Make the mergers match executors and restart only on failure. This should allow us to gracefully stop the mergers with intention and detect they are stopped for maintenance purposes. Change-Id: Ia8d12fbf6a45e4ca85174ccafd18b5d2351c26c1
This commit is contained in:
parent
0e072f1399
commit
761dbb4352
@ -4,7 +4,7 @@ version: '2'
|
||||
|
||||
services:
|
||||
merger:
|
||||
restart: always
|
||||
restart: on-failure
|
||||
image: docker.io/zuul/zuul-merger:latest
|
||||
network_mode: host
|
||||
user: zuul
|
||||
|
Loading…
Reference in New Issue
Block a user