1e316df5e9
Temporary workaround while we wait for equivalent patchs I251892459b8bd30ff2e64dff5f8c151405694a1d I9535c124bbf383bb2b7b01dbc7d17a0a7ceae269 to happen in prepare_tripleo.sh, Change-Id: I2e3221682f86ffaf89b8659f3e3fefd3da1e8541
23 lines
743 B
Bash
Executable File
23 lines
743 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# cd to toci directory so relative paths work (below and in toci_devtest.sh)
|
|
cd $(dirname $0)
|
|
|
|
|
|
# TODO : remove these when the equivalent merges into openstack-infra/config
|
|
sudo DEBIAN_FRONTEND=noninteractive apt-get \
|
|
--option "Dpkg::Options::=--force-confold" \
|
|
--assume-yes install python-pip
|
|
sudo pip install gear os-apply-config
|
|
# Enable precise-backports so we can install jq
|
|
sudo sed -i -e 's/# \(deb .*precise-backports main \)/\1/g' /etc/apt/sources.list
|
|
sudo apt-get update
|
|
|
|
# XXX: 127.0.0.1 naturally won't work for real CI but for manual
|
|
# testing running a server on the same machine is convenient.
|
|
GEARDSERVER=${GEARDSERVER:-127.0.0.1}
|
|
|
|
./testenv-client -b $GEARDSERVER:4730 -- ./toci_devtest.sh
|