- 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 - install-distro-packages - shell: | # Allow Jenkins user to ssh into localhost ssh-keygen -f ~/.ssh/id_rsa -N "" cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys ssh-keyscan localhost >> ~/.ssh/known_hosts ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts - tox: envlist: "{scenario}" publishers: - zuul-swift-upload-console-log - job-group: name: 'windmill-jobs' jobs: - '{pipeline}-windmill-{scenario}-{ostype}{job-suffix}': job-suffix: '-nv' ostype: - devstack-centos7 - ubuntu-trusty pipeline: gate scenario: - deploy - '{pipeline}-windmill-{scenario}-{ostype}{job-suffix}': job-suffix: '' ostype: - devstack-centos7 - ubuntu-trusty pipeline: gate scenario: - deploy