diff options
author | Fatih Degirmenci <fdegir@gmail.com> | 2018-02-22 20:07:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-02-22 20:07:53 +0000 |
commit | 750f68ac8c2a1e0d676847decfd3392707c372e8 (patch) | |
tree | cb592567aee28ab83984fb0901b6719c5a1283ac /jjb | |
parent | abae229c5a0c436027979418445aaf58cc09807c (diff) | |
parent | 4a21857c44c58e7782153d649e2b6b3e9d88244a (diff) |
Merge "Update Pharos Dashboard Deploy Job and Disable"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/pharos/pharos.yml | 16 |
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 |