7febd72cce
Previously there are a lot of warning messages of setuptools in the log files of tox jobs. This is mainly caused by test samples because these are in python codes directories. This patch moves test samples from under {heat-translator_root}/translator/tests to under {heat-translator_root}/samples/tests. This patch also contains the following changes: - Remove "skipsdist = True" from tox.ini - Fixed usage.rst command example Change-Id: Ibde711a4778e238076de328641da7b0edd1d4f4b Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com> Co-Authored-By: Yoshiro Watanabe <fj3838ct@fujitsu.com>
15 lines
452 B
Bash
Executable File
15 lines
452 B
Bash
Executable File
#!/bin/bash
|
|
# This script installs mongodb
|
|
|
|
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
|
|
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
|
|
|
|
apt-get update
|
|
apt-get install -y mongodb-org
|
|
|
|
#Wait for mongodb initialization
|
|
while [[ ! -d "/var/lib/mongodb/_tmp" ]]; do
|
|
echo "Waiting for mongodb initialization ..."
|
|
sleep 5
|
|
done
|