system-config/playbooks/roles/zuul-scheduler/handlers/main.yaml
Monty Taylor 5d1f556c2e Run smart-reconfigure instead of HUP
We don't want to HUP all the processes in the container, we just
want zuul to reconfigure. Use the smart-reconfigure command.

Also - start the scheduler in the gate job.

Change-Id: I66754ed168165d2444930ab1110e95316f7307a7
2020-04-26 11:01:08 -05:00

7 lines
248 B
YAML

- name: Reload Zuul Scheduler
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