1a19268a90
Since we are running ansible in our testing, we can also setup the SSH host keys and running bindep from windmill playbooks. This also allows us to ensure our logic works outside the gate. Change-Id: If363333b649e722a53ce5d6f9928e23418b402c8 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
|
|
- 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:
|
|
- centos-7
|
|
- ubuntu-trusty
|
|
- ubuntu-xenial
|
|
pipeline: gate
|
|
scenario:
|
|
- deploy
|