Make a copy of requirements for local testers
The requirements repository is provided to us in most CI testing scenarios, however we also want to force a constraint upon installing python libraries for test VM creation dependencies. As such lets at least get a copy of requirements up front when testing with test-bifrost.sh or when using vagrant. Change-Id: Ic6a5b8f7cdbf6f4c6233848bab1bfd71acc9d973
This commit is contained in:
parent
eadaec1c33
commit
1ef02fa3d3
@ -126,6 +126,13 @@ logs_on_exit() {
|
||||
}
|
||||
trap logs_on_exit EXIT
|
||||
|
||||
# Clone the requirements repo if we don't already have
|
||||
# a copy. This is provided by OpenStack CI jobs, but
|
||||
# is not automatically present when doing local testing.
|
||||
if [ ! -d "$ANSIBLE_INSTALL_ROOT/requirements" ]; then
|
||||
cd $ANSIBLE_INSTALL_ROOT
|
||||
git clone http://opendev.org/openstack/requirements
|
||||
fi
|
||||
# Change working directory
|
||||
cd $BIFROST_HOME/playbooks
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user