Install Zuul on stackforge
Change-Id: Ibcb77244b371b0cae4d167f4f50839d8ac33397c
This commit is contained in:
parent
9ec6094b9e
commit
90ee709686
@ -79,6 +79,15 @@ node "jenkins.stackforge.org" {
|
||||
projects => ['reddwarf', 'ceilometer', 'heat']
|
||||
}
|
||||
|
||||
class { 'zuul': }
|
||||
file { "/etc/zuul/layout.yaml":
|
||||
ensure => 'present',
|
||||
source => 'puppet:///modules/stackforge-config/zuul/layout.yaml'
|
||||
}
|
||||
file { "/etc/zuul/logging.conf":
|
||||
ensure => 'present',
|
||||
source => 'puppet:///modules/stackforge-config/zuul/logging.conf'
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
|
1
modules/stackforge-config/README
Normal file
1
modules/stackforge-config/README
Normal file
@ -0,0 +1 @@
|
||||
This file stores config files specific to the Stackforge project.
|
31
modules/stackforge-config/files/zuul/layout.yaml
Normal file
31
modules/stackforge-config/files/zuul/layout.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
queues:
|
||||
- name: check
|
||||
manager: IndependentQueueManager
|
||||
trigger:
|
||||
- event: patchset-created
|
||||
success:
|
||||
verified: 1
|
||||
failure:
|
||||
verified: -1
|
||||
- name: gate
|
||||
manager: DependentQueueManager
|
||||
trigger:
|
||||
- event: comment-added
|
||||
approval:
|
||||
- approved: 1
|
||||
success:
|
||||
verified: 2
|
||||
submit: true
|
||||
failure:
|
||||
verified: -2
|
||||
- name: post
|
||||
manager: IndependentQueueManager
|
||||
trigger:
|
||||
- event: ref-updated
|
||||
ref: ^(?!refs/).*$
|
||||
|
||||
jobs:
|
||||
- name: ^.*-merge$
|
||||
failure-message: This change was unable to be automatically merged with the current state of the repository. Please rebase your change and upload a new patchset.
|
||||
|
||||
projects:
|
39
modules/stackforge-config/files/zuul/logging.conf
Normal file
39
modules/stackforge-config/files/zuul/logging.conf
Normal file
@ -0,0 +1,39 @@
|
||||
[loggers]
|
||||
keys=root,zuul
|
||||
|
||||
[handlers]
|
||||
keys=console,debug,normal
|
||||
|
||||
[formatters]
|
||||
keys=simple
|
||||
|
||||
[logger_root]
|
||||
level=WARNING
|
||||
handlers=console
|
||||
|
||||
[logger_zuul]
|
||||
level=DEBUG
|
||||
handlers=debug,normal
|
||||
qualname=zuul
|
||||
|
||||
[handler_console]
|
||||
level=WARNING
|
||||
class=StreamHandler
|
||||
formatter=simple
|
||||
args=(sys.stdout,)
|
||||
|
||||
[handler_debug]
|
||||
level=DEBUG
|
||||
class=logging.handlers.TimedRotatingFileHandler
|
||||
formatter=simple
|
||||
args=('/var/log/zuul/debug.log', 'midnight', 1, 30,)
|
||||
|
||||
[handler_normal]
|
||||
level=INFO
|
||||
class=logging.handlers.TimedRotatingFileHandler
|
||||
formatter=simple
|
||||
args=('/var/log/zuul/zuul.log', 'midnight', 1, 30,)
|
||||
|
||||
[formatter_simple]
|
||||
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
||||
datefmt=
|
Loading…
x
Reference in New Issue
Block a user