Merge "Don't restart the zuul scheduler in prod"

This commit is contained in:
Zuul 2020-04-29 22:22:00 +00:00 committed by Gerrit Code Review
commit 2be697a8e3
2 changed files with 3 additions and 3 deletions

View File

@ -2,5 +2,5 @@
shell:
cmd: docker-compose exec -T scheduler zuul-scheduler smart-reconfigure
chdir: /etc/zuul-scheduler
# Don't run a restart if we're starting zuul with the playbook
when: not zuul_scheduler_start|bool
# Don't run a reconfigure if we're starting zuul with the playbook
when: zuul_scheduler_start is not defined or not zuul_scheduler_start|bool

View File

@ -70,4 +70,4 @@
- name: Start containers
include_tasks: start.yaml
when: zuul_scheduler_start | bool
when: zuul_scheduler_start is defined and zuul_scheduler_start | bool