- hunter
- latest
+- job-template:
+ name: '{repo}-functest-{container}-{tag}-pull'
+ parameters:
+ - functest-virtual-defaults
+ builders:
+ - shell: sudo docker pull {repo}/functest-{container}:{tag}
+
+- project:
+ name: repo-functest-container-tag-pull
+ <<: *functest-defaultparameters
+ container:
+ - healthcheck
+ - smoke
+ - benchmarking
+ - components
+ - vnf
+ - features
+ jobs:
+ - '{repo}-functest-{container}-{tag}-pull'
+
+- functest-pulljobs: &functest-pulljobs
+ name: 'functest-pulljobs'
+ projects:
+ - name: '{repo}-functest-healthcheck-{tag}-pull'
+ - name: '{repo}-functest-smoke-{tag}-pull'
+ - name: '{repo}-functest-benchmarking-{tag}-pull'
+ - name: '{repo}-functest-components-{tag}-pull'
+ - name: '{repo}-functest-vnf-{tag}-pull'
+ - name: '{repo}-functest-features-{tag}-pull'
+
- functest-buildparameters: &functest-buildparameters
name: 'functest-buildparameters'
parameters:
- functest-virtual-defaults
builders:
- shell: |
- sudo docker run --rm true \
+ sudo docker run --rm \
-e EXTERNAL_NETWORK=public1 \
-v /home/opnfv/functest/results/$JOB_NAME-$BUILD_ID:\
/home/opnfv/functest/results \
-v /home/opnfv/functest/openstack.creds:\
/home/opnfv/functest/conf/env_file \
-v /home/opnfv/functest/images:/home/opnfv/functest/images \
- -v $(pwd)/tempest_blacklist.yaml:\
+ -v /home/opnfv/functest/tempest_blacklist.yaml:\
/usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/\
tempest/custom_tests/blacklist.yaml \
- -v $(pwd)/rally_blacklist.yaml:\
+ -v /home/opnfv/functest/images/rally_blacklist.yaml:\
/usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/\
rally/blacklist.yaml \
{repo}/functest-{container}:{tag} run_tests -t {test}
parameters:
- functest-virtual-defaults
builders:
+ - multijob:
+ name: pull containers
+ <<: *functest-pulljobs
- multijob:
name: healthcheck
<<: *functest-healthcheckjobs