else
image={repo}:{port}/{container}:{tag}
fi
+ if [ "{tag}" = "latest" ]; then
+ py=3.6
+ else
+ py=2.7
+ fi
sudo docker run --rm \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-e DEBUG=True \
-e EXTERNAL_NETWORK=public \
-v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
-v /home/opnfv/functest/images:/home/opnfv/functest/images \
- -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python2.7/\
+ -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python$py/\
site-packages/functest/opnfv_tests/openstack/rally/blacklist.yaml \
+ -v /home/opnfv/functest/tempest_blacklist.yaml:/usr/lib/python$py/\
+ site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/blacklist.yaml \
$image run_tests -t {test}
res=$?
gsutil -m cp -r $WORKSPACE/ \
<<: *functest-jobs
- multijob:
name: opnfv/functest-healthcheck:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-healthcheck-{tag}-connection_check-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-smoke:{tag}
- execution-type: PARALLEL
- condition: SUCCESSFUL
projects:
- name: 'functest-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-benchmarking:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-benchmarking-{tag}-rally_full-run'
<<: *functest-jobs
- multijob:
name: opnfv/functest-vnf:{tag}
execution-type: SEQUENTIALLY
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-features:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-features-{tag}-doctor-notification-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-healthcheck:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-healthcheck-{tag}-connection_check-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-smoke:{tag}
- execution-type: PARALLEL
- condition: SUCCESSFUL
projects:
- name: 'functest-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-benchmarking:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-benchmarking-{tag}-rally_full-run'
<<: *functest-jobs
- multijob:
name: opnfv/functest-vnf:{tag}
execution-type: SEQUENTIALLY
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-features:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-features-{tag}-doctor-notification-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-healthcheck:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-healthcheck-{tag}-connection_check-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-smoke:{tag}
- execution-type: PARALLEL
- condition: SUCCESSFUL
projects:
- name: 'functest-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-benchmarking:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-benchmarking-{tag}-rally_full-run'
<<: *functest-jobs
- multijob:
name: opnfv/functest-vnf:{tag}
execution-type: SEQUENTIALLY
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-features:{tag}
- execution-type: PARALLEL
- condition: ALWAYS
projects:
- name: 'functest-opnfv-functest-features-{tag}-doctor-notification-run'
<<: *functest-jobs