monasca-transform/tools/vagrant/provision-devstack.sh
Ashwin Agate f99a3faf68 Fix development environment and functional tests
Changing devstack environment vagrant box and
also rename the devstack VM to 'devstack'
from 'pg-tips'

Also fixing all the tests that were broken when
they were moved from tests/unit to tests/functional
with this review
https://review.openstack.org/#/c/400237/

Update devstack README with a section called
Development workflow for monasca-transform with
steps developers can take to develop and run
tests.

Change-Id: I11678148ba2bcb96eb3e2a522176683dc8bca30a
2017-04-11 12:13:25 -07:00

19 lines
365 B
Bash

#!/usr/bin/env bash
echo Id - `id`
echo Configuring git via https
git config --global url."https://".insteadOf git://
if [ -d devstack ]
then
echo devstack directory already cloned
else
git clone https://git.openstack.org/openstack-dev/devstack
fi
if [ -d monasca-transform ]
then
echo removing monasca-transform
sudo rm -rf monasca-transform
fi