summaryrefslogtreecommitdiffstats
path: root/jjb/pharos
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-11-02 16:17:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-11-02 16:17:59 +0000
commit99cb17791659b1602263c82d26e21d175c99e8c7 (patch)
tree59ecba9b9ea3baf814fe69927d7fffc29bcc2985 /jjb/pharos
parent65092497e5c4e6aa158ea0487b9df9b2a0591e31 (diff)
parent2ba9c9cf179b9e02f761ddc7517f6c537590202d (diff)
Merge "Fix Pharos Dashboard JIRA Logins"
Diffstat (limited to 'jjb/pharos')
-rw-r--r--jjb/pharos/shell/deploy-dashboard.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/jjb/pharos/shell/deploy-dashboard.sh b/jjb/pharos/shell/deploy-dashboard.sh
index 4ca41f48c..46a79c326 100644
--- a/jjb/pharos/shell/deploy-dashboard.sh
+++ b/jjb/pharos/shell/deploy-dashboard.sh
@@ -7,11 +7,13 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-
cp $HOME/config.env $WORKSPACE/dashboard
-cp $HOME/rsa.pub $WORKSPACE/dashboard
-cp $HOME/rsa.pem $WORKSPACE/dashboard
-
cd $WORKSPACE/dashboard
+
docker-compose pull
docker-compose up -d
+
+# Copy JIRA keys into web container
+WEB_CONTAINER="$(docker ps --filter 'name=dg01' -q)"
+docker cp $HOME/rsa.pub $WEB_CONTAINER:/pharos_dashboard/account/
+docker cp $HOME/rsa.pem $WEB_CONTAINER:/pharos_dashboard/account/