a25f980ef4c9f63b5bea403107e6f034474b4798
[releng.git] / jjb / functest / functest-virtual.yaml
1 ---
2 - job-template:
3     name: '{repo}-functest-{container}-{tag}-{test}'
4     parameters:
5       - functest-virtual-defaults
6     builders:
7       - shell: |
8           sudo docker run \
9             -e EXTERNAL_NETWORK=public1 \
10             -v /home/opnfv/functest/results/$JOB_NAME-$BUILD_ID:\
11           /home/opnfv/functest/results \
12             -v /home/opnfv/functest/openstack.creds:\
13           /home/opnfv/functest/conf/env_file \
14             -v /home/opnfv/functest/images:/home/opnfv/functest/images \
15             {repo}/functest-{container}:{tag} run_tests -t {test}
16
17 - project:
18     name: 'opnfv-functest-healthcheck'
19     container: healthcheck
20     repo: opnfv
21     tag:
22       - gambia
23       - hunter
24       - latest
25     test:
26       - connection_check
27       - tenantnetwork1
28       - tenantnetwork2
29       - vmready1
30       - vmready2
31       - singlevm1
32       - singlevm2
33       - vping_ssh
34       - vping_userdata
35       - cinder_test
36       - odl
37       - api_check
38       - snaps_health_check
39     jobs:
40       - '{repo}-functest-{container}-{tag}-{test}'
41
42 - project:
43     name: 'opnfv-functest-smoke'
44     container: smoke
45     repo: opnfv
46     tag:
47       - gambia
48       - hunter
49       - latest
50     test:
51       - tempest_smoke
52       - refstack_defcore
53       - patrole
54     jobs:
55       - '{repo}-functest-{container}-{tag}-{test}'
56
57 - job-template:
58     name: 'functest-virtual'
59     project-type: multijob
60     node: 'functest-virtual'
61     builders:
62       - multijob:
63           name: functest gambia
64           projects:
65             - name: 'opnfv-functest-healthcheck-gambia-connection_check'
66             - name: 'opnfv-functest-healthcheck-gambia-tenantnetwork1'
67             - name: 'opnfv-functest-healthcheck-gambia-tenantnetwork2'
68             - name: 'opnfv-functest-healthcheck-gambia-vmready1'
69             - name: 'opnfv-functest-healthcheck-gambia-vmready2'
70             - name: 'opnfv-functest-healthcheck-gambia-singlevm1'
71             - name: 'opnfv-functest-healthcheck-gambia-singlevm2'
72             - name: 'opnfv-functest-healthcheck-gambia-vping_ssh'
73             - name: 'opnfv-functest-healthcheck-gambia-vping_userdata'
74             - name: 'opnfv-functest-healthcheck-gambia-cinder_test'
75             - name: 'opnfv-functest-healthcheck-gambia-odl'
76             - name: 'opnfv-functest-healthcheck-gambia-api_check'
77             - name: 'opnfv-functest-healthcheck-gambia-snaps_health_check'
78             - name: 'opnfv-functest-smoke-gambia-tempest_smoke'
79             - name: 'opnfv-functest-smoke-gambia-refstack_defcore'
80             - name: 'opnfv-functest-smoke-gambia-patrole'
81       - multijob:
82           name: functest hunter
83           projects:
84             - name: 'opnfv-functest-healthcheck-hunter-connection_check'
85             - name: 'opnfv-functest-healthcheck-hunter-tenantnetwork1'
86             - name: 'opnfv-functest-healthcheck-hunter-tenantnetwork2'
87             - name: 'opnfv-functest-healthcheck-hunter-vmready1'
88             - name: 'opnfv-functest-healthcheck-hunter-vmready2'
89             - name: 'opnfv-functest-healthcheck-hunter-singlevm1'
90             - name: 'opnfv-functest-healthcheck-hunter-singlevm2'
91             - name: 'opnfv-functest-healthcheck-hunter-vping_ssh'
92             - name: 'opnfv-functest-healthcheck-hunter-vping_userdata'
93             - name: 'opnfv-functest-healthcheck-hunter-cinder_test'
94             - name: 'opnfv-functest-healthcheck-hunter-odl'
95             - name: 'opnfv-functest-healthcheck-hunter-api_check'
96             - name: 'opnfv-functest-healthcheck-hunter-snaps_health_check'
97             - name: 'opnfv-functest-smoke-hunter-tempest_smoke'
98             - name: 'opnfv-functest-smoke-hunter-refstack_defcore'
99             - name: 'opnfv-functest-smoke-hunter-patrole'
100       - multijob:
101           name: functest latest
102           projects:
103             - name: 'opnfv-functest-healthcheck-latest-connection_check'
104             - name: 'opnfv-functest-healthcheck-latest-tenantnetwork1'
105             - name: 'opnfv-functest-healthcheck-latest-tenantnetwork2'
106             - name: 'opnfv-functest-healthcheck-latest-vmready1'
107             - name: 'opnfv-functest-healthcheck-latest-vmready2'
108             - name: 'opnfv-functest-healthcheck-latest-singlevm1'
109             - name: 'opnfv-functest-healthcheck-latest-singlevm2'
110             - name: 'opnfv-functest-healthcheck-latest-vping_ssh'
111             - name: 'opnfv-functest-healthcheck-latest-vping_userdata'
112             - name: 'opnfv-functest-healthcheck-hunter-cinder_test'
113             - name: 'opnfv-functest-healthcheck-latest-odl'
114             - name: 'opnfv-functest-healthcheck-hunter-api_check'
115             - name: 'opnfv-functest-healthcheck-latest-snaps_health_check'
116             - name: 'opnfv-functest-smoke-latest-tempest_smoke'
117             - name: 'opnfv-functest-smoke-latest-refstack_defcore'
118             - name: 'opnfv-functest-smoke-latest-patrole'
119
120 - project:
121     name: 'functest-virtual'
122     jobs:
123       - 'functest-virtual'