From 1eb8479dfb8ba6d3d908ed85131c67cc3b6d1058 Mon Sep 17 00:00:00 2001 From: Bryan Sullivan Date: Wed, 7 Dec 2016 05:41:52 -0800 Subject: Correct ref to congress server in juju command JIRA: COPPER-2 Signed-off-by: Bryan Sullivan Small changes to smoke01 test Change-Id: Ie1783671ba4b418c45cdbd4447538728ce9fff49 Signed-off-by: Bryan Sullivan --- components/congress/test-webapp/setup/clean_congress_testserver.sh | 0 components/congress/test-webapp/setup/install_congress_testserver.sh | 4 ++-- components/congress/test-webapp/setup/restart_congress_testserver.sh | 0 3 files changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 components/congress/test-webapp/setup/clean_congress_testserver.sh mode change 100755 => 100644 components/congress/test-webapp/setup/restart_congress_testserver.sh (limited to 'components/congress/test-webapp') diff --git a/components/congress/test-webapp/setup/clean_congress_testserver.sh b/components/congress/test-webapp/setup/clean_congress_testserver.sh old mode 100755 new mode 100644 diff --git a/components/congress/test-webapp/setup/install_congress_testserver.sh b/components/congress/test-webapp/setup/install_congress_testserver.sh index e720184..a16d1be 100644 --- a/components/congress/test-webapp/setup/install_congress_testserver.sh +++ b/components/congress/test-webapp/setup/install_congress_testserver.sh @@ -95,8 +95,8 @@ sed -i -- "s/OS_PASSWORD/$OS_PASSWORD/g" /tmp/copper/copper/components/congress/ echo "Start webapp container" sudo docker build -t copper-webapp /tmp/copper/copper/components/congress/test-webapp/ -CID=$(sudo docker run -v /tmp/copper/log:/tmp -p 8257:80 -d copper-webapp) -CIP=$(sudo docker inspect $CID | grep IPAddress | cut -d '"' -f 4 | tail -1) +sudo docker run -d -v /tmp/copper/log:/tmp -p 8257:80 --name copper copper-webapp +CIP=$(sudo docker inspect copper | grep IPAddress | cut -d '"' -f 4 | tail -1) echo "Copper Webapp IP address: $CIP" set +x diff --git a/components/congress/test-webapp/setup/restart_congress_testserver.sh b/components/congress/test-webapp/setup/restart_congress_testserver.sh old mode 100755 new mode 100644 -- cgit 1.2.3-korg