Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.3 KB

File metadata and controls

56 lines (45 loc) · 1.3 KB

Feature

Deploy openstack GIT repos to /opt/stack

Operations

  • Deploys all GIT repositories contained found the worspace root folder to /opt/stack
  • Download devstack repository if not found on /opt/stack
  • Deploy local.conf to /opt/stack/devstack

Example of use

Clone this workspace and enter in its folder

git clone https://github.com/FedericoRessi/devstack-ws.git my_workspace
cd my_workspace

Edit local.conf contained in your workspace

nano local.conf

Now clone some git repo inside of it and edit them

git clone https://git.openstack.org/openstack/networking-odl
cd networking-odl
git fetch https://review.openstack.org/openstack/networking-odl refs/changes/12/215612/23
git checkout FETCH_HEAD

Start a VM based on your favorite linux distribution, install devstack and its dependencies and deploy a copy of networking-odl:

vagrant up trusty

Read e-mails, take a tea, or goes to scrum meeting ;-)

Then enters in the VM and launch devstack.

vagrant ssh trusty
cd /opt/stack/devstack
./stack.sh

Now you can unstack, make some changes on the and deploy again.

./unstack.sh
exit
nano somefile
vagrant provision trusty

Now restack as before or destroy the VM.

vagrant destroy -f trusty