project-config/jenkins/jobs/ansible-role-jobs.yaml
Jesse Pretorius bebd76ebdf Switch Ansible role jobs to use 'dsvm-functional-trusty'
This patch switches the Ansible role checks to use the
'dsvm-functional-trusty' job so that it has sudo access.

Change-Id: Ic8d6afd2d72ac8d6bd4290a39a57ec6d8706207b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-23 13:31:01 -05:00

53 lines
1.2 KiB
YAML

- job-template:
name: 'gate-{name}-ansible-lint'
node: '{node}'
builders:
- ansible-prep
- ansible-lint-prep
- revoke-sudo
- gerrit-git-prep
- ansible-syntax
- ansible-lint
publishers:
- console-log
- job-template:
name: '{pipeline}-{name}-dsvm-functional-{ostype}{job-suffix}'
node: 'devstack-{ostype}'
builders:
- zuul-git-prep
- tox:
envlist: ansible-functional
publishers:
- zuul-swift-upload-console-log
- job-group:
# TODO(pabelanger): Remove in favor of ansible-role-jobs
name: 'ansible-lint-jobs'
jobs:
- 'gate-{name}-ansible-lint'
- job-group:
name: 'ansible-role-jobs'
jobs:
- 'gate-{name}-docs'
- 'gate-{name}-pep8'
- 'gate-{name}-tox-{envlist}':
envlist: ansible-lint
- '{pipeline}-{name}-dsvm-functional-{ostype}{job-suffix}':
job-suffix: '-nv'
ostype:
- centos7
- trusty
pipeline: gate
- '{pipeline}-{name}-dsvm-functional-{ostype}{job-suffix}':
job-suffix: ''
ostype:
- centos7
- trusty
pipeline: gate