diff options
author | 2019-11-05 13:45:43 +0000 | |
---|---|---|
committer | 2019-11-05 13:45:43 +0000 | |
commit | 54e2f60a8b0027f9c922eac95f5ac2f38604fde5 (patch) | |
tree | c147c46aeec7b12f6b98b195cf83f8de15dea908 /jjb/laas/shell/deploy-dashboard.sh | |
parent | 037d520a19c80902a99c6e75f569090b96ec9b0f (diff) | |
parent | 600548d4df9d788585aaa6549bcab38c0f34d9ee (diff) |
Merge "Moves LaaS Jobs to New Project"
Diffstat (limited to 'jjb/laas/shell/deploy-dashboard.sh')
-rw-r--r-- | jjb/laas/shell/deploy-dashboard.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/jjb/laas/shell/deploy-dashboard.sh b/jjb/laas/shell/deploy-dashboard.sh new file mode 100644 index 000000000..d3ad29b31 --- /dev/null +++ b/jjb/laas/shell/deploy-dashboard.sh @@ -0,0 +1,19 @@ +#!/bin/bash -eux +############################################################################## +# Copyright (c) 2018 Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +cp $HOME/config.env $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:/laas_dashboard/account/ +docker cp $HOME/rsa.pem $WEB_CONTAINER:/laas_dashboard/account/ |