summaryrefslogtreecommitdiffstats
path: root/jjb/pharos
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-02-21 16:39:52 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-02-21 16:42:09 -0800
commit4a21857c44c58e7782153d649e2b6b3e9d88244a (patch)
tree8612a67e1b35984a5fa8a9d29293bbc25eb107b3 /jjb/pharos
parentf9a52671752efe3d4404343f5fafbeda6498464b (diff)
Update Pharos Dashboard Deploy Job and Disable
Copying the keys required for talking to JIRA and disabling the job until chages can be tested to ensure a deploy runs successfully. Change-Id: Ib3602338cfe06d5507f5d3f5b853906feb39f4c5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/pharos')
-rw-r--r--jjb/pharos/pharos.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/jjb/pharos/pharos.yml b/jjb/pharos/pharos.yml
index acf14885e..c1bb1ba0e 100644
--- a/jjb/pharos/pharos.yml
+++ b/jjb/pharos/pharos.yml
@@ -11,7 +11,8 @@
jobs:
- '{project}-verify-basic'
- 'backup-pharos-dashboard'
- - 'deploy-pharos-dashboard'
+ - 'deploy-pharos-dashboard':
+ disabled: true
- job-template:
name: 'backup-pharos-dashboard'
@@ -52,7 +53,16 @@
- 'pharos-dashboard-defaults'
scm:
- - git-scm-gerrit
+ - git:
+ choosing-strategy: 'gerrit'
+ refspec: '$GERRIT_REFSPEC'
+ branches:
+ - 'origin/$BRANCH'
+ timeout: 15
+ credentials-id: '$SSH_CREDENTIAL_ID'
+ url: '$GIT_BASE'
+ skip-tag: true
+ wipe-workspace: false
triggers:
- gerrit:
@@ -71,6 +81,8 @@
builders:
- shell: |
cp $HOME/config.env $WORKSPACE/dashboard
+ cp $HOME/rsa.pub $WORKSPACE/dashboard
+ cp $HOME/rsa.pem $WORKSPACE/dashboard
cd $WORKSPACE/dashboard
sudo docker-compose build
sudo docker-compose up -d