5d86a67889
Add a non-voting job to windmill to test our coverage on fedora. Change-Id: Idcc3884f2322e3d389fd612eebf4bbc9659f3b01 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
54 lines
1.3 KiB
YAML
54 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
|
|
- fedora-24
|
|
- 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
|