5901b7d1a3
* Update CHANGELOG file to document the right URL for release notes.
* Update beaker_spec_helper and rake_tasks to checkout stable/mitaka.
* Update version in version.rb, to match with other modules versionning.
* Improve index.rst to list releases and propose indices and tables.
* Add mitaka.rst to track notes added in stable/mitaka.
* Update .gitreview
Change-Id: I9eedb76279e5f2bf61b7819c55433b1393d312aa
(cherry picked from commit 4150a405ca
)
27 lines
856 B
Bash
27 lines
856 B
Bash
#!/bin/bash
|
|
#
|
|
# functions - puppet-openstack_spec_helper specific functions
|
|
#
|
|
|
|
install_gems() {
|
|
mkdir .bundled_gems
|
|
export GEM_HOME=`pwd`/.bundled_gems
|
|
|
|
# use puppet-nova to test the gem
|
|
if [ -e /usr/zuul-env/bin/zuul-cloner ] ; then
|
|
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
|
git://git.openstack.org openstack/puppet-nova
|
|
else
|
|
git clone git://git.openstack.org/openstack/puppet-nova -b stable/mitaka openstack/puppet-nova
|
|
fi
|
|
cd openstack/puppet-nova
|
|
|
|
# Modify Gemfile to use local library and not the one on git
|
|
# so we can actually test the current state of the gem.
|
|
sed -i "s/.*git => 'https:\/\/git.openstack.org\/openstack\/puppet-openstack_spec_helper.*/ :path => '..\/..',/" Gemfile
|
|
|
|
# Install dependencies
|
|
gem install bundler --no-rdoc --no-ri --verbose
|
|
$GEM_HOME/bin/bundle install
|
|
}
|