CI - Depends-On support - Repo

This patch will use the Depends-On support enabled in the Common
bootstrap. The repo Berksfile already has support for REPO_DEV to
find cookbooks in a local path.  This change will enable the
repo to also be able to use the Depends-On commit message flag to
pull in dependent cookbooks.

To use Depends-On, add the following to your commit message AFTER
the description and BEFORE the change id and bug or blue print ref.
"Depends-On: <id>"
The id is the change id of the gerrit patch this patch depends on.

Change-Id: I7f9bc45995073ae210656835108b4e6a5257b082
This commit is contained in:
Mark Vanderwiel 2015-06-26 11:40:13 -05:00
parent f7d1057c6b
commit f34f9a28ae
1 changed files with 5 additions and 0 deletions

View File

@ -7,3 +7,8 @@ curl https://raw.githubusercontent.com/openstack/cookbook-openstack-common/maste
--silent \
--show-error \
| /bin/bash -x
# 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 finds this, the Berksfile REPO_DEV support needs to be enabled.
export REPO_DEV=ON