a5ce6b3397
The main reason for this, when we added ansible into the gate name we passed the 125 char interrupter limit that tox supports. Which broke gate-ansible-role-jenkins-job-builder-dsvm-ansible-functional-centos7. This actually brings tox.ini inline with other openstack projects. [1] http://logs.openstack.org/98/259498/1/check/gate-ansible-role-jenkins-job-builder-dsvm-ansible-functional-centos7/46e396f/console.html Change-Id: I376e51824c46f9b5eb4a4cff01aaa176632087dd Signed-off-by: Paul Belanger <pabelanger@redhat.com>
61 lines
1.5 KiB
YAML
61 lines
1.5 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-ansible-functional-{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: 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-ansible-functional-{ostype}{job-suffix}':
|
|
job-suffix: '-nv'
|
|
ostype:
|
|
- centos7
|
|
- trusty
|
|
pipeline: gate
|
|
- '{pipeline}-{name}-dsvm-ansible-functional-{ostype}{job-suffix}':
|
|
job-suffix: ''
|
|
ostype:
|
|
- centos7
|
|
- trusty
|
|
pipeline: gate
|