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: