summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts/docker_run.sh
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-03-08 15:50:44 +0200
committerYuli Shlosberg <ys9693@att.com>2018-03-11 16:43:36 +0200
commit0b698c442c28a382d4f4ec3fe3de0582611df42e (patch)
tree8409d3eae7b0051b81e8fe4c3d81e19905c4e569 /sdc-os-chef/scripts/docker_run.sh
parentf468768e06773865a7158844812c4eaa9d076202 (diff)
fix be-init docker
Change-Id: I5a9d17e8f4fe885c696e4e2f992218c28b41e986 Issue-ID: SDC-915 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'sdc-os-chef/scripts/docker_run.sh')
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index 61a2434819..d962e8e930 100755
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -232,7 +232,6 @@ echo ""
#Elastic-Search
function sdc-es {
-dir_perms
echo "docker run sdc-elasticsearch..."
if [ ${LOCAL} = false ]; then
echo "pulling code"
@@ -247,7 +246,6 @@ monitor_docker sdc-es
#Init-Elastic-Search
function sdc-init-es {
-dir_perms
echo "docker run sdc-init-elasticsearch..."
if [ ${LOCAL} = false ]; then
echo "pulling code"
@@ -262,7 +260,6 @@ if [[ $rc != 0 ]]; then exit $rc; fi
#Cassandra
function sdc-cs {
-dir_perms
echo "docker run sdc-cassandra..."
if [ ${LOCAL} = false ]; then
docker pull ${PREFIX}/sdc-cassandra:${RELEASE}
@@ -288,7 +285,6 @@ if [[ $rc != 0 ]]; then exit $rc; fi
#Kibana
function sdc-kbn {
-dir_perms
echo "docker run sdc-kibana..."
if [ ${LOCAL} = false ]; then
docker pull ${PREFIX}/sdc-kibana:${RELEASE}
@@ -298,7 +294,6 @@ fi
#Back-End
function sdc-BE {
-dir_perms
echo "docker run sdc-backend..."
if [ ${LOCAL} = false ]; then
docker pull ${PREFIX}/sdc-backend:${RELEASE}
@@ -313,7 +308,6 @@ monitor_docker sdc-BE
# Back-End-Init
function sdc-BE-init {
-dir_perms
echo "docker run sdc-backend-init..."
if [ ${LOCAL} = false ]; then
docker pull ${PREFIX}/sdc-backend-init:${RELEASE}
@@ -327,7 +321,6 @@ if [[ $rc != 0 ]]; then exit $rc; fi
# Front-End
function sdc-FE {
-dir_perms
echo "docker run sdc-frontend..."
if [ ${LOCAL} = false ]; then
docker pull ${PREFIX}/sdc-frontend:${RELEASE}
@@ -358,6 +351,7 @@ fi
if [ -z "${DOCKER}" ]; then
cleanup all
+ dir_perms
sdc-es
sdc-init-es
sdc-cs
@@ -370,6 +364,7 @@ if [ -z "${DOCKER}" ]; then
sdc-sanity
else
cleanup ${DOCKER}
+ dir_perms
${DOCKER}
healthCheck
fi