project-config/jenkins/jobs/kolla.yaml
Andreas Jaeger 079bc8bf5a Remove redundant gerrit-git-prep from kolla jobs
Kolla jobs had both gerrit-git-prep and zuul-git-prep-upper-constraints.
Only one of these is needed, remove the unneeded gerrit-git-prep.

Change-Id: I1235a52e04be148f70f8ea06da13c903a177ee38
2017-01-06 18:51:25 +01:00

77 lines
1.7 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-group:
name: 'kolla-publish-image-jobs'
suffix: ''
type:
- binary
- source
jobs:
- 'kolla-dsvm-build-{distro}-{type}-{node}{suffix}':
distro: ubuntu
node:
- ubuntu-trusty
- ubuntu-xenial
- 'kolla-dsvm-build-{distro}-{type}-{node}{suffix}':
distro:
- centos
- oraclelinux
node: 'centos-7'