Update ansible test job to run against stable-2.5

ansible now depends on openstacksdk and not shade. Update the shade
tests to test against stable-2.5 branch so that we can make sure shade
patches don't break people using older ansible.

Change-Id: Id7af93cbc73b208d7a973ca5101b8977a0ace689
This commit is contained in:
Monty Taylor 2018-05-27 08:48:00 -05:00
parent 60aafcc4bc
commit 949982c780
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 23 additions and 2 deletions

View File

@ -203,6 +203,27 @@
test_matrix_branch: master
tox_install_siblings: true
- job:
name: shade-ansible-stable-2.5-functional-devstack
parent: shade-ansible-functional-devstack
description: |
Run shade ansible functional tests against a master devstack
using git devel branch version of ansible.
branches: ^(devel|master)$
required-projects:
- name: github.com/ansible/ansible
override-checkout: stable-2.5
- name: openstack-infra/shade
override-checkout: master
- name: openstack-dev/devstack
override-checkout: master
vars:
# test-matrix grabs branch from the zuul branch setting. If the job
# is triggered by ansible, that branch will be stable-2.5 which doesn't
# make sense to devstack. Override so that we run the right thing.
test_matrix_branch: master
tox_install_siblings: true
- project-template:
name: shade-functional-tips
check:
@ -224,7 +245,7 @@
jobs:
- bifrost-integration-tinyipa
- bifrost-integration-tinyipa-opensuse-423
- shade-ansible-devel-functional-devstack:
- shade-ansible-stable-2.5-functional-devstack:
voting: false
- shade-ansible-functional-devstack
- shade-functional-devstack

View File

@ -63,7 +63,7 @@ deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
ansible
ansible<=2.5
commands = {toxinidir}/extras/run-ansible-tests.sh -e {envdir} {posargs}
[testenv:docs]