project-config/jenkins/jobs/windmill.yaml
Paul Belanger f1ac901e7e Add functional tests for windmill
Currently we are adding 2 non-voting jobs for both centos7 and trusty.
The goal will be to support both. We'll also add additional scenerios
over time, but for now it is just called deploy.

Change-Id: Ib2df59bc26288162da2cc41d85d5dc65eb19706a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-01 16:31:27 -05:00

40 lines
1.1 KiB
YAML

- job-template:
name: '{pipeline}-windmill-{scenario}-{ostype}{job-suffix}'
node: 'devstack-{ostype}'
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- 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:
- centos7
- trusty
pipeline: gate
scenario:
- deploy
- '{pipeline}-windmill-{scenario}-{ostype}{job-suffix}':
job-suffix: ''
ostype:
- centos7
- trusty
pipeline: gate
scenario:
- deploy