node: 'opnfv-jump-1'
installer_type: 'apex'
installer_ip: '192.168.X.X'
+ - compass:
+ node: 'huawei-us-deploy-bare-1'
+ installer_type: 'compass'
+ installer_ip: '192.168.200.2'
+ - joid:
+ node: 'intel-us-deploy-bare-pod5'
+ installer_type: 'compass'
+ installer_ip: '127.0.0.1'
pod:
- orange-test1:
node: 'orange-test1'
installer_type: 'fuel'
installer_ip: '172.30.10.73'
-
- orange-fr-pod2:
node: 'orange-fr-pod2'
installer_type: 'joid'
installer_ip: '127.0.0.1'
+ - huawei-build:
+ node: 'huawei-us-deploy-bare-1'
+ installer_type: 'compass'
+ installer_ip: '192.168.200.2'
+ - intel-us-deploy-bare-pod5:
+ node: 'intel-us-deploy-bare-pod5'
+ installer_type: 'joid'
+ installer_ip: '127.0.0.1'
jobs:
- 'set-functest-env-{pod}'
- job-template:
name: set-functest-env-{pod}
- node: '{pod}'
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ node: '{node}'
builders:
- 'set-functest-env'
- job-template:
name: clean-functest-env-{pod}
- node: '{pod}'
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ node: '{node}'
builders:
- 'functest-cleanup'
node: '{node}'
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
builders:
- 'set-functest-env'
node: '{node}'
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
builders:
- 'functest-cleanup'
- job-template:
name: functest-openstack-bench-test-{pod}
- node: '{pod}'
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ node: '{node}'
builders:
- 'functest-rally-bench'
- job-template:
name: functest-openstack-tempest-smoke-test-{pod}
- node: '{pod}'
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ node: '{node}'
builders:
- 'functest-tempest-smoke'
- job-template:
name: functest-odl-test-{pod}
- node: '{pod}'
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ node: '{node}'
builders:
- shell: |
- job-template:
name: functest-vping-test-{pod}
- node: '{pod}'
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ node: '{node}'
builders:
- 'functest-vping'
- job-template:
name: functest-{pod}
- node: '{pod}'
+ node: '{node}'
parameters:
- project-parameter:
refspec: ''
branch: master
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
builders:
- 'functest-cleanup'
- 'set-functest-env'
refspec: ''
branch: master
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
builders:
- 'functest-cleanup'
- 'set-functest-env'
refspec: ''
branch: master
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
builders:
- 'functest-vims'
- job-template:
name: 'functest-verify-{stream}'
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
parameters:
- project-parameter:
project: '{project}'
builders:
- shell:
- !include-raw ../opnfvdocs/docu-build.sh
+ echo "Hello World"
- job-template:
name: 'functest-merge-{stream}'
default: ssh://gerrit.opnfv.org:29418/$PROJECT
description: "Override GIT_BASE"
+- parameter:
+ name: huawei-build
+ parameters:
+ - string:
+ name: GIT_BASE
+ default: https://gerrit.opnfv.org/gerrit/$PROJECT
+ description: "Override GIT_BASE"
+
+- parameter:
+ name: intel-us-deploy-bare-pod5
+ parameters:
+ - string:
+ name: GIT_BASE
+ default: https://gerrit.opnfv.org/gerrit/$PROJECT
+ description: "Override GIT_BASE"
+ - string:
+ name: LAB_CONFIG
+ default: "/home/ubuntu/joid_config/admin-openrc"
+ description: "Openstack credentials on the dev lab"
+
- parameter:
name: opnfv-jump-2
parameters:
#!/bin/bash
set +e
if [[ ${INSTALLER_TYPE} == 'apex' ]]; then
- INSTALLER_IP=$(cat instack /var/lib/libvirt/dnsmasq/default.leases \
- |sed 's/.*192/192/g' | sed 's/\ in.*//g')
+ INSTALLER_IP=$(grep instack /var/lib/libvirt/dnsmasq/default.leases \
+ |awk '{print $3}' | head -n 1)
+ sshkey="-v /root/.ssh/id_rsa:/root/.ssh/id_rsa"
fi
echo "Functest: Start Docker and prepare environment"
envs="INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} -e NODE_NAME=${NODE_NAME}"
- labconfig = ""
+ labconfig=""
# If production lab then creds may be retrieved dynamically
# If dev lab, credentials may not be the default ones, just provide a path to put them into docker
if [ -n "${LAB_CONFIG}" ]; then
labconfig="-v ${LAB_CONFIG}:/home/opnfv/functest/conf/openstack.creds"
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