From 60ce222a1dd37319d3fda431dab0a18e2838f6c9 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 23 Nov 2016 17:35:17 -0500 Subject: [PATCH] Create experimental kolla-publish-image-jobs This is the first step to publish kolla images to tarballs.o.o. For now, we are using the experimental pipeline, until we can validate uploads work as expected. Then we'll move the the jobs to the post pipeline. Change-Id: I7d0c20a7ea221117ec6a6b0ade3e9e317c13bbd2 Signed-off-by: Paul Belanger --- jenkins/jobs/kolla.yaml | 47 ++++++++++++++++++++++++++++++++++++++ jenkins/jobs/projects.yaml | 1 + zuul/layout.yaml | 8 +++++++ 3 files changed, 56 insertions(+) diff --git a/jenkins/jobs/kolla.yaml b/jenkins/jobs/kolla.yaml index 207f0e3360..70f8ab5558 100644 --- a/jenkins/jobs/kolla.yaml +++ b/jenkins/jobs/kolla.yaml @@ -21,3 +21,50 @@ publishers: - devstack-logs - console-log + +- job-template: + name: 'kolla-dsvm-build-{distro}-{type}-{node}{job-suffix}' + node: '{node}' + + wrappers: + - build-timeout: + timeout: 90 + - timestamps + + builders: + - link-logs + - net-info + - zuul-git-prep-upper-constraints + - gerrit-git-prep + - install-distro-packages + - shell: | + #!/bin/bash -xe + tools/setup_gate.sh + tox -e build-{distro}-{type} + + publishers: + - devstack-logs + - scp: + site: 'tarballs.openstack.org' + files: + - source: 'images/*.tar.gz' + target: 'tarballs/kolla/images/' + - console-log + +- job-group: + name: 'kolla-publish-image-jobs' + job-suffix: '' + type: + - binary + - source + jobs: + - 'kolla-dsvm-build-{distro}-{type}-{node}{job-suffix}': + distro: ubuntu + node: + - ubuntu-trusty + - ubuntu-xenial + - 'kolla-dsvm-build-{distro}-{type}-{node}{job-suffix}': + distro: + - centos + - oraclelinux + node: 'centos-7' diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 13292d3845..82b9386fa2 100644 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -6226,6 +6226,7 @@ - pypi-jobs - openstack-publish-jobs - openstack-releasenotes-jobs + - kolla-publish-image-jobs - 'gate-{name}-tox-{envlist}-{node}': envlist: bandit node: diff --git a/zuul/layout.yaml b/zuul/layout.yaml index c81c4fdc4a..9d51b55d34 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -10921,6 +10921,14 @@ projects: - gate-kolla-dsvm-build-oraclelinux-source-centos-7 experimental: - gate-kolla-dsvm-deploy-multinode-ubuntu-source-ubuntu-trusty-2-node-nv + - kolla-dsvm-build-centos-binary-centos-7 + - kolla-dsvm-build-centos-source-centos-7 + - kolla-dsvm-build-ubuntu-binary-ubuntu-trusty + - kolla-dsvm-build-ubuntu-source-ubuntu-trusty + - kolla-dsvm-build-ubuntu-binary-ubuntu-xenial + - kolla-dsvm-build-ubuntu-source-ubuntu-xenial + - kolla-dsvm-build-oraclelinux-binary-centos-7 + - kolla-dsvm-build-oraclelinux-source-centos-7 - name: openstack/kolla-ansible template: