project-config/jenkins/jobs/windmill.yaml
Paul Belanger a400bd0fcd Remove centos-7 windmill voting gate
Because we are landing zookeeper support in windmill, we don't have a
centos-7 package yet. As a result, we can not have a voting gate right
now. So we are moving centos-7 voting gates, switching them to
non-voting for now.

Additionally, promote ubuntu-trusty and ubuntu-xenial to voting
status.

Change-Id: I7501311c0b18c73f8143ef21028ae495e79cf32a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-11-24 17:26:47 -05:00

53 lines
1.3 KiB
YAML

- builder:
name: windmill-checkout
builders:
- shell: |
#!/bin/bash -xe
CLONEMAP=`mktemp`
function cleanup {
rm -f $CLONEMAP
}
trap cleanup EXIT
cat > $CLONEMAP << EOF
clonemap:
- name: openstack/windmill
dest: .
EOF
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
git://git.openstack.org openstack/windmill
- job-template:
name: '{pipeline}-windmill-{scenario}-{ostype}{job-suffix}'
node: '{ostype}'
builders:
- print-template-name:
template-name: "{template-name}"
- windmill-checkout
- run-tox:
envlist: "{scenario}"
publishers:
- console-log
- job-group:
name: 'windmill-jobs'
jobs:
- '{pipeline}-windmill-{scenario}-{ostype}{job-suffix}':
job-suffix: '-nv'
ostype:
- centos-7
- ubuntu-trusty
- ubuntu-xenial
pipeline: gate
scenario:
- deploy
- '{pipeline}-windmill-{scenario}-{ostype}{job-suffix}':
job-suffix: ''
ostype:
- ubuntu-trusty
- ubuntu-xenial
pipeline: gate
scenario:
- deploy