Skip to content

Instantly share code, notes, and snippets.

@jjasghar
Last active August 29, 2015 14:03
Show Gist options
  • Save jjasghar/ef5410192f053ebdb6c0 to your computer and use it in GitHub Desktop.
Save jjasghar/ef5410192f053ebdb6c0 to your computer and use it in GitHub Desktop.
Pulls down each repo for openstack-chef
#!/bin/bash
GERRIT_USERNAME=<username>
for i in client common compute identity image block-storage object-storage network metering dashboard telemetry database orchestration integration-test data-processing;
do
git clone git@github.com:stackforge/cookbook-openstack-$i
cd cookbook-openstack-$i
git remote add gerrit ssh://$GERRIT_USERNAME@review.openstack.org:29418/stackforge/cookbook-openstack-$i.git
git review -s
cd ../
done
git clone git@github.com:stackforge/cookbook-ceph
cd cookbook-openstack-$i
git remote add gerrit ssh://$GERRIT_USERNAME@review.openstack.org:29418/stackforge/cookbook-ceph
git review -s
cd ../
@jjasghar
Copy link
Author

pip install git-review if you don't have git review installed.

@jjasghar
Copy link
Author

If you want the chef repo https://github.com/stackforge/openstack-chef-repo needs to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment