openstack-chef-repo/bootstrap.sh
Jan Klare de3c86d681 fix recipe order for allinone role and bootstrap.sh
Change-Id: I75088a00dc17b8a4907a1314d82aff500c5dccfe
2016-03-07 09:15:14 +01:00

12 lines
705 B
Bash
Executable File

#!/bin/bash -x
## This script is for installing all the needed packages on trusty to run the chef tests with 'chef exec rake'.
## It relies on the common bootstrap.sh from openstack/cookbook-openstack-common for installing common dependencies.
wget -nv -t 3 -O common-bootstrap.sh https://raw.githubusercontent.com/openstack/cookbook-openstack-common/master/bootstrap.sh
/bin/bash -x common-bootstrap.sh
# To enable cookbook Depends-On support, the Common bootstrap above will already
# get the cookbook dependencies cloned into ../openstack-cookbook-xxxx. In order to
# have the repo tests use these cookbooks patches, the Berksfile uses the ZUUL_CHANGES
# variable to trigger using local cookbooks.