summaryrefslogtreecommitdiffstats
path: root/jjb/pharos
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-01-17 14:03:04 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-01-17 14:04:41 -0800
commit925a369ebaedd8a243c2aa87e6601b08d01df574 (patch)
tree6c4d70643772b81e39c9a3b373cb0b3c8a16305b /jjb/pharos
parent8a97b253153a8ae0f645943d1853b0b96fc515f0 (diff)
Pharos Dashboard: Deploy once config is in place
Since configuration has shifted out of the docker-compose.yml file and the workspace gets recreated ever job, the config.env file needs to be copied into place before each deployment. JIRA: PHAROS-316 Change-Id: I8c80f1148ad268428defa2f7eb1877d821a11491 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/pharos')
-rw-r--r--jjb/pharos/pharos.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/pharos/pharos.yml b/jjb/pharos/pharos.yml
index bf42f6e9c..e78d1051f 100644
--- a/jjb/pharos/pharos.yml
+++ b/jjb/pharos/pharos.yml
@@ -68,6 +68,7 @@
builders:
- shell: |
+ cp $HOME/config.env $WORKSPACE/dashboard
cd $WORKSPACE/dashboard
sudo docker-compose build
sudo docker-compose up -d