From 925a369ebaedd8a243c2aa87e6601b08d01df574 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Wed, 17 Jan 2018 14:03:04 -0800 Subject: 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 --- jjb/pharos/pharos.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'jjb/pharos') 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 -- cgit 1.2.3-korg