project-config/jenkins/jobs/kolla.yaml
Michal (inc0) Jastrzebski f2128248b7 Multinode gates, dockerhub publisher prework
Prepare groundwork for upgrade gates and dockerhub publisher, also move
multinode jobs from experimental to regular pipeline

Change-Id: Id6510c454975b5847845f6438c8342d0a9ee0b2e
2017-06-14 11:45:13 -07:00

140 lines
3.1 KiB
YAML

- job-template:
name: '{pipeline}-kolla-dsvm-{action}-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ACTION={action}
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
tools/gate_run.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'kolla-dsvm-build-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ACTION=build
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
export PACK_REGISTRY=1
tools/gate_run.sh
publishers:
- devstack-logs
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'images/*.tar.gz'
target: 'tarballs/kolla/images/'
- console-log
- job-template:
name: 'publish-kolla-dsvm-{action}-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ACTION={action}
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
export PACK_REGISTRY=1
export PUBLISHER=1
tools/publisher.sh
publishers:
- devstack-logs
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'images/*'
target: 'tarballs/kolla/images/tmp'
- console-log
- job-template:
name: '{pipeline}-kolla-dsvm-{orch}-{action}-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ORCH_ENGINE={orch}
export ACTION={action}
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
tools/publisher.sh
publishers:
- devstack-logs
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'images/*.txt'
target: 'tarballs/kolla/images/tmp'
- console-log
- job-group:
name: 'kolla-publish-image-jobs'
suffix: ''
type:
- binary
- source
jobs:
- 'kolla-dsvm-build-{distro}-{type}-{node}{suffix}':
distro: ubuntu
node: ubuntu-xenial
- 'kolla-dsvm-build-{distro}-{type}-{node}{suffix}':
distro:
- centos
- oraclelinux
node: centos-7