-
copy pull-changes.sh from raw
note: link could be wrong if updated below
wget https://gist.githubusercontent.com/xarses/7cd6a335055546078a31/raw/pull-change.sh
-
find review you want to test and go to patch set download section. Select pull, you should see line like
git pull https://review.openstack.org/stackforge/fuel-library refs/changes/13/133513/3
-
call pull-changes.sh
bash pull-changes.sh git pull https://review.openstack.org/stackforge/fuel-library refs/changes/13/133513/3
Last active
August 29, 2015 14:09
-
-
Save xarses/7cd6a335055546078a31 to your computer and use it in GitHub Desktop.
testing fuel-library changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum install -y git | |
cd /etc/puppet | |
git clone https://github.com/stackforge/fuel-library | |
cd fuel-library | |
# run the git call from cmd args | |
$@ | |
git checkout FETCH_HEAD | |
# update link to modules | |
rm modules | |
ln -s fuel-library/deployment/puppet modules | |
#copy the site.pp | |
cd /etc/puppet | |
cp -r manifests manifests-new | |
mv manifests manifests-old | |
mv manifests-new manifests | |
cp modules/osnailyfacter/examples/site.pp manifests/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment