88e04a3096
The devstack plugin carries usage of `sudo -u` which doesn't seem to work in the ci environment. Replace it with sudo followed by appropriate permissions changes. Use ${DEST} instead of literal /opt/stack to fit with gate usage. Enabled monasca-api plugin in the settings and the required monasca services along with zookeeper. Change-Id: I6effede4ac9a2faf1c44eff9cd96bbf9c924d703
19 lines
365 B
Bash
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
|