diff options
Diffstat (limited to 'jjb/functest')
-rw-r--r-- | jjb/functest/functest.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml index 8fc31cff5..343309e19 100644 --- a/jjb/functest/functest.yml +++ b/jjb/functest/functest.yml @@ -22,6 +22,11 @@ installer_type: 'compass' installer_ip: '192.168.200.2' pod: + - opnfv-jump-1: + node: 'opnfv-jump-1' + installer_type: 'apex' + installer_ip: '192.168.X.X' + - orange-test1: node: 'orange-test1' installer_type: 'fuel' @@ -381,6 +386,10 @@ name: GIT_BASE default: ssh://gerrit.opnfv.org:29418/$PROJECT description: "Override GIT_BASE" + - string: + name: SSH_KEY + default: "/root/.ssh/id_rsa" + description: "SSH public key to access the installer VM" - parameter: name: huawei-build @@ -444,8 +453,12 @@ if [ -n "${LAB_CONFIG}" ]; then labconfig="-v ${LAB_CONFIG}:/home/opnfv/functest/conf/openstack.creds" fi + if [ -n "${SSH_KEY}" ]; then + sshkey="-v ${SSH_KEY}:/root/.ssh/id_rsa" + fi + docker pull opnfv/functest:latest_stable - cmd="docker run -id -e $envs ${labconfig} opnfv/functest:latest_stable /bin/bash" + cmd="docker run -id -e $envs ${labconfig} ${sshkey} opnfv/functest:latest_stable /bin/bash" echo "Functest: Running docker run command: ${cmd}" ${cmd} docker ps -a |