project-config/jenkins/jobs/windmill.yaml
Paul Belanger 6db5cd3c4f Replace fedora-24 jobs with fedora-25
The majority of these fedora jobs are non-voting. There is no issue
moving the ansible roles and windmill to fedora-25, as I can clean up
issues as they are found.

Change-Id: Ifc2a000858808438b394a1959d7e89700fb41f00
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-01-14 11:49:30 -05:00

85 lines
2.0 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}{suffix}'
node: '{ostype}'
builders:
- print-template-name:
template-name: "{template-name}"
- windmill-checkout
- run-tox:
envlist: "{scenario}"
wrappers:
- build-timeout:
timeout: 60
publishers:
- console-log
- job-template:
name: 'windmill-publishimages-{ostype}{suffix}'
node: '{ostype}'
builders:
- print-template-name:
template-name: "{template-name}"
- windmill-checkout
- run-tox:
envlist: 'publish-images'
wrappers:
- build-timeout:
timeout: 60
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'images/*.tgz'
target: 'tarballs/windmill/images/'
- console-log
- job-group:
name: 'windmill-jobs'
jobs:
- '{pipeline}-windmill-{scenario}-{ostype}{suffix}':
suffix: '-nv'
ostype:
- centos-7
- fedora-25
- ubuntu-trusty
- ubuntu-xenial
pipeline: gate
scenario:
- deploy
- '{pipeline}-windmill-{scenario}-{ostype}{suffix}':
suffix: ''
ostype:
- ubuntu-trusty
- ubuntu-xenial
pipeline: gate
scenario:
- buildimages
- deploy
- 'windmill-publishimages-{ostype}{suffix}':
suffix: ''
ostype: ubuntu-trusty