diff --git a/modules/jenkins_jobs/files/projects/openstack/zuul.yml b/modules/jenkins_jobs/files/projects/openstack/zuul.yml index 9b47974297..e6c8943739 100644 --- a/modules/jenkins_jobs/files/projects/openstack/zuul.yml +++ b/modules/jenkins_jobs/files/projects/openstack/zuul.yml @@ -19,9 +19,18 @@ parameters: - name: UUID type: string description: Zuul provided key to link builds with Gerrit events - - name: changes + - name: DEPENDENT_CHANGES type: string - description: Zuul provided list of changes to merge + description: Zuul provided list of dependent changes to merge + - name: GERRIT_PROJECT + type: string + description: Zuul provided project name + - name: GERRIT_BRANCH + type: string + description: Zuul provided branch name + - name: GERRIT_REFSPEC + type: string + description: Zuul provided refspec of the change to test notification_endpoints: - protocol: HTTP @@ -58,9 +67,18 @@ parameters: - name: UUID type: string description: Zuul provided key to link builds with Gerrit events - - name: changes + - name: DEPENDENT_CHANGES type: string - description: Zuul provided list of changes to merge + description: Zuul provided list of dependent changes to merge + - name: GERRIT_PROJECT + type: string + description: Zuul provided project name + - name: GERRIT_BRANCH + type: string + description: Zuul provided branch name + - name: GERRIT_REFSPEC + type: string + description: Zuul provided refspec of the change to test notification_endpoints: - protocol: HTTP @@ -97,9 +115,18 @@ parameters: - name: UUID type: string description: Zuul provided key to link builds with Gerrit events - - name: changes + - name: DEPENDENT_CHANGES type: string - description: Zuul provided list of changes to merge + description: Zuul provided list of dependent changes to merge + - name: GERRIT_PROJECT + type: string + description: Zuul provided project name + - name: GERRIT_BRANCH + type: string + description: Zuul provided branch name + - name: GERRIT_REFSPEC + type: string + description: Zuul provided refspec of the change to test notification_endpoints: - protocol: HTTP diff --git a/modules/zuul/manifests/init.pp b/modules/zuul/manifests/init.pp index c058e42e5a..36e34fdd5d 100644 --- a/modules/zuul/manifests/init.pp +++ b/modules/zuul/manifests/init.pp @@ -1,5 +1,12 @@ class zuul () { + $packages = ["python-webob", + "python-paste"] + + package { $packages: + ensure => "present", + } + # if we already have the repo the pull updates exec { "update_zuul": @@ -28,4 +35,9 @@ class zuul () file { "/etc/zuul": ensure => "directory", } + + file { "/var/log/zuul": + ensure => "directory", + owner => 'jenkins' + } }