Pharos Dashboard: Deploy once config is in place 45/50745/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 17 Jan 2018 22:03:04 +0000 (14:03 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 17 Jan 2018 22:04:41 +0000 (14:04 -0800)
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>
jjb/pharos/pharos.yml

index bf42f6e..e78d105 100644 (file)
@@ -68,6 +68,7 @@
 
     builders:
       - shell: |
+          cp $HOME/config.env $WORKSPACE/dashboard
           cd $WORKSPACE/dashboard
           sudo docker-compose build
           sudo docker-compose up -d