Add logrotate to zuul services

Like we do with nodepool, add logrotate support for zuul.

Change-Id: I2ac1d5ba56d760d4b931b970610ae9f069f3a131
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-03-14 19:05:21 -04:00
parent 67948b177a
commit 9c15972afc
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
5 changed files with 55 additions and 0 deletions

View File

@ -49,3 +49,14 @@ zuul_service_zuul_web_state: stopped
zuul_user_name: zuul-test
zuul_user_group: zuul-test
zuul_user_home: /var/lib/zuul
# openstack.logrotate
logrotate_configs:
- name: zuul-executor
log: /var/log/zuul/executor-debug.log /var/log/zuul/executor.log
options:
- compress
- missingok
- rotate 7
- daily
- notifempty

View File

@ -49,3 +49,14 @@ zuul_service_zuul_web_state: stopped
zuul_user_name: zuul-test
zuul_user_group: zuul-test
zuul_user_home: /var/lib/zuul
# openstack.logrotate
logrotate_configs:
- name: zuul-fingergw
log: /var/log/zuul/fingergw-debug.log /var/log/zuul/fingergw.log
options:
- compress
- missingok
- rotate 7
- daily
- notifempty

View File

@ -49,3 +49,14 @@ zuul_service_zuul_web_state: stopped
zuul_user_name: zuul-test
zuul_user_group: zuul-test
zuul_user_home: /var/lib/zuul
# openstack.logrotate
logrotate_configs:
- name: zuul-merger
log: /var/log/zuul/merger-debug.log /var/log/zuul/merger.log
options:
- compress
- missingok
- rotate 7
- daily
- notifempty

View File

@ -50,6 +50,17 @@ zuul_user_name: zuul-test
zuul_user_group: zuul-test
zuul_user_home: /var/lib/zuul
# openstack.logrotate
logrotate_configs:
- name: zuul-scheduler
log: /var/log/zuul/scheduler-debug.log /var/log/zuul/scheduler.log
options:
- compress
- missingok
- rotate 7
- daily
- notifempty
# windmill.ssh
ssh_user_name: "{{ zuul_user_name }}"
ssh_user_home: "{{ zuul_user_home }}"

View File

@ -49,3 +49,14 @@ zuul_service_zuul_scheduler_state: stopped
zuul_user_name: zuul-test
zuul_user_group: zuul-test
zuul_user_home: /var/lib/zuul
# openstack.logrotate
logrotate_configs:
- name: zuul-web
log: /var/log/zuul/web-debug.log /var/log/zuul/web.log
options:
- compress
- missingok
- rotate 7
- daily
- notifempty