From 5befdc1b745dc07c7051f1096bda38182d0f5a1a Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 20 Dec 2016 19:24:20 -0500 Subject: [PATCH] Add periodic job to publishimages for windmill Now that our experimental job is working, we can publish images. I'll remove our experimental job in a follow up patch. Change-Id: Ia856738112db841a918c20cea4adf3ea1e3391f4 Signed-off-by: Paul Belanger --- jenkins/jobs/windmill.yaml | 21 +++++++++++++++++++++ zuul/layout.yaml | 2 ++ 2 files changed, 23 insertions(+) diff --git a/jenkins/jobs/windmill.yaml b/jenkins/jobs/windmill.yaml index 918cfb2988..812c68bdc4 100644 --- a/jenkins/jobs/windmill.yaml +++ b/jenkins/jobs/windmill.yaml @@ -45,6 +45,24 @@ - build-timeout: timeout: 60 + publishers: + - console-log + +- job-template: + name: 'windmill-publishimages-{ostype}{suffix}' + node: '{ostype}' + + builders: + - print-template-name: + template-name: "{template-name}" + - windmill-checkout + - run-tox: + envlist: 'publish-images' + + wrappers: + - build-timeout: + timeout: 60 + publishers: - scp: site: 'tarballs.openstack.org' @@ -77,3 +95,6 @@ - 'windmill-buildimages-{ostype}{suffix}': suffix: '' ostype: ubuntu-trusty + - 'windmill-publishimages-{ostype}{suffix}': + suffix: '' + ostype: ubuntu-trusty diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 87d255c974..e38725722d 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -17665,6 +17665,8 @@ projects: - name: windmill-jobs-xenial experimental: - windmill-buildimages-ubuntu-trusty + periodic: + - windmill-publishimages-ubuntu-trusty - name: openstack/workload-ref-archs template: