COLLECTD_OPENSTACK_GIT_BRANCH has been updated to stable/pike so that aodh
changes will be picked up
Previously, the branch was not actually being checked out, but was being
used as a name for a new branch. This behaviour has been corrected.
Change-Id: I516c4311d2a0cedcca6ec293b62c21234b1e1975
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
# puppet-barometer module.
# Versions/branches
-COLLECTD_OPENSTACK_PLUGINS_BRANCH="stable/ocata"
+COLLECTD_OPENSTACK_PLUGINS_BRANCH="stable/pike"
ARCH="6.el7.centos.x86_64.rpm"
# don't fail because of missing certificate
rm -rf collectd-openstack-plugins
git clone $COLLECTD_OPENSTACK_REPO collectd-openstack-plugins
pushd collectd-openstack-plugins
- git checkout -b $COLLECTD_OPENSTACK_PLUGINS_BRANCH
+ git checkout $COLLECTD_OPENSTACK_PLUGINS_BRANCH
git archive --format=tar.gz HEAD > ${BUILD_DIR}/collectd-openstack-plugins.tar.gz
popd > /dev/null