Use stable/mitaka branch when cloning plugins repo

The master branch of the plugins repo no longer supports Ansible 1.9.x.
When cloning the repo for testing, ensure that the stable/mitaka branch
is used. Also use the stable/mitaka branch for ensuring
upper-constraints of packages.

Change-Id: I1a6de780f623d09e950d37f7e8370ce4c9208b1f
This commit is contained in:
Jimmy McCrory 2017-02-02 10:02:56 -08:00
parent 99e5aee301
commit 60c9882714
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ envlist = docs,linters,functional
[testenv]
usedevelop = True
install_command =
pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/mitaka} {opts} {packages}
deps =
-r{toxinidir}/test-requirements.txt
commands =
@ -118,7 +118,7 @@ setenv =
ANSIBLE_ROLES_PATH = {homedir}/.ansible/roles:{toxinidir}/..
commands =
rm -rf {homedir}/.ansible/plugins
git clone https://git.openstack.org/openstack/openstack-ansible-plugins \
git clone -b stable/mitaka https://git.openstack.org/openstack/openstack-ansible-plugins \
{homedir}/.ansible/plugins
# This plugin makes the ansible-playbook output easier to read
wget -O {homedir}/.ansible/plugins/callback/human_log.py \