Update Pharos Dashboard Deploy Job and Disable 33/52433/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 22 Feb 2018 00:39:52 +0000 (16:39 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 22 Feb 2018 00:42:09 +0000 (16:42 -0800)
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>
jjb/pharos/pharos.yml

index acf1488..c1bb1ba 100644 (file)
@@ -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'
       - '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