aboutsummaryrefslogtreecommitdiffstats
path: root/moon_forming/run.sh
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2018-01-22 15:51:03 +0100
committerThomas Duval <thomas.duval@orange.com>2018-01-24 09:55:31 +0100
commit72413a4640e458690cf65f445bc10f28886f4e8f (patch)
treeb7e4ac1c181584f07e28b39e6aa24d3cf00822f5 /moon_forming/run.sh
parent36fe604a69eaa4c36f309bd68e36d75c3850c5c4 (diff)
Functional tests development
Change-Id: I641522d813f171a4eed0e6b39b2f25cc470c76d1
Diffstat (limited to 'moon_forming/run.sh')
-rw-r--r--moon_forming/run.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/moon_forming/run.sh b/moon_forming/run.sh
deleted file mode 100644
index d731cb17..00000000
--- a/moon_forming/run.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env bash
-
-populate_args=$*
-
-echo "Waiting for Consul (http://consul:8500)"
-while ! python -c "import requests; req = requests.get('http://consul:8500')" 2>/dev/null ; do
- sleep 5 ;
- echo -n "."
-done
-echo "."
-echo "Consul (http://consul:8500) is up."
-
-python3 /root/conf2consul.py /etc/moon/moon.conf
-
-echo "Waiting for DB (tcp://db:3306)"
-while ! python -c "import socket, sys; s = socket.socket(socket.AF_INET, socket.SOCK_STREAM); s.connect(('db', 3306)); sys.exit(0)" 2>/dev/null ; do
- sleep 5 ;
- echo -n "."
-done
-echo "."
-echo "Database (http://db:3306) is up."
-
-moon_db_manager upgrade
-
-echo "Waiting for Keystone (http://keystone:5000)"
-while ! python -c "import requests; req = requests.get('http://keystone:5000')" 2>/dev/null ; do
- sleep 5 ;
- echo -n "."
-done
-echo "."
-echo "Keystone (http://keystone:5000) is up."
-
-echo "Waiting for Manager (http://manager:8082)"
-while ! python -c "import requests; req = requests.get('http://manager:8082')" 2>/dev/null ; do
- sleep 5 ;
- echo -n "."
-done
-echo "."
-echo "Manager (http://manager:8082) is up."
-
-#for i in /data/*.py ; do
-# moon_populate_values $populate_args --consul-host=consul --consul-port=8500 $i
-#done