From: Trevor Bramwell Date: Wed, 17 Jan 2018 22:03:04 +0000 (-0800) Subject: Pharos Dashboard: Deploy once config is in place X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=925a369ebaedd8a243c2aa87e6601b08d01df574;p=releng.git 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 --- 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