else
image={repo}:{port}/{container}:{tag}
fi
+ if [ "{tag}" = "latest" ]; then
+ py=3.7
+ 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 \
$image run_tests -t {test}
res=$?
<<: *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
ref: $branch
- project:
- name: 'functest-_-alpine-3.9-rmi'
+ name: 'functest-_-alpine-3.10-rmi'
repo: _
port:
container: alpine
- tag: 3.9
+ tag: '3.10'
slave: master
jobs:
- 'functest-{repo}-{container}-{tag}-rmi'
- project:
- name: 'functest-_-alpine-3.9-pull'
+ name: 'functest-_-alpine-3.10-pull'
repo: _
port:
container: alpine
- tag: 3.9
+ tag: '3.10'
slave: master
jobs:
- 'functest-{repo}-{container}-{tag}-pull'
jobs:
- 'functest-{repo}-{container}-{tag}-gate'
- 'functest-{repo}-{container}-{tag}-check'
+ exclude:
+ - tag: latest
- project:
name: functest-opnfv-functest-healthcheck-{tag}-build
- multijob:
name: remove dependencies
projects:
- - name: 'functest-_-alpine-3.9-rmi'
+ - name: 'functest-_-alpine-3.10-rmi'
<<: *functest-jobs
- multijob:
name: pull dependencies
projects:
- - name: 'functest-_-alpine-3.9-pull'
+ - name: 'functest-_-alpine-3.10-pull'
<<: *functest-jobs
- multijob:
name: build opnfv/functest-core
<<: *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
- multijob:
name: remove dependencies
projects:
- - name: 'functest-_-alpine-3.9-rmi'
+ - name: 'functest-_-alpine-3.10-rmi'
<<: *functest-jobs
- multijob:
name: pull dependencies
projects:
- - name: 'functest-_-alpine-3.9-pull'
+ - name: 'functest-_-alpine-3.10-pull'
<<: *functest-jobs
- multijob:
name: build opnfv/functest-core
<<: *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