Merge changes If9b61064,I0490eade
[functest.git] / ci / run.yaml
1 ---
2 - job-template:
3     name: '{repo}-functest-{container}-{test}-{tag}-run'
4     defaults: 'functest-defaults'
5     builders:
6       - shell: |
7           docker run \
8             -e NAMESERVER={nameserver} \
9             -e EXTERNAL_NETWORK={external_network} \
10             -v \
11             {prefix}/results/$JOB_NAME-$BUILD_ID:/home/opnfv/functest/results \
12             -v {prefix}/openstack.creds:/home/opnfv/functest/conf/env_file \
13             -v {prefix}/images:/home/opnfv/functest/images \
14             -v {prefix}/tempest_conf.yaml:\
15           /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack\
16           /tempest/custom_tests/tempest_conf.yaml \
17             {repo}/functest-{container}:{tag} run_tests -t {test}
18
19 - project:
20     name: '{repo}-functest-healthcheck-{test}-{tag}-run'
21     container: healthcheck
22     test:
23       - connection_check
24       - tenantnetwork1
25       - tenantnetwork2
26       - vmready1
27       - vmready2
28       - singlevm1
29       - singlevm2
30       - vping_ssh
31       - vping_userdata
32       - cinder_test
33       - odl
34       - api_check
35       - snaps_health_check
36     jobs:
37       - '{repo}-functest-{container}-{test}-{tag}-run'
38
39 - job-template:
40     name: '{repo}-functest-healthcheck-{tag}-run'
41     project-type: multijob
42     builders:
43       - multijob:
44           name: healthcheck
45           projects:
46             - name: '{repo}-functest-healthcheck-connection_check-{tag}-run'
47             - name: '{repo}-functest-healthcheck-tenantnetwork1-{tag}-run'
48             - name: '{repo}-functest-healthcheck-tenantnetwork2-{tag}-run'
49             - name: '{repo}-functest-healthcheck-vmready1-{tag}-run'
50             - name: '{repo}-functest-healthcheck-vmready2-{tag}-run'
51             - name: '{repo}-functest-healthcheck-singlevm1-{tag}-run'
52             - name: '{repo}-functest-healthcheck-singlevm2-{tag}-run'
53             - name: '{repo}-functest-healthcheck-vping_ssh-{tag}-run'
54             - name: '{repo}-functest-healthcheck-vping_userdata-{tag}-run'
55             - name: '{repo}-functest-healthcheck-cinder_test-{tag}-run'
56             - name: '{repo}-functest-healthcheck-odl-{tag}-run'
57             - name: '{repo}-functest-healthcheck-api_check-{tag}-run'
58             - name: '{repo}-functest-healthcheck-snaps_health_check-{tag}-run'
59
60 - project:
61     name: '{repo}-functest-healthcheck-{tag}-run'
62     jobs:
63       - '{repo}-functest-healthcheck-{tag}-run'
64
65 - project:
66     name: '{repo}-functest-smoke-{test}-{tag}-run'
67     container: smoke
68     test:
69       - tempest_smoke
70       - neutron-tempest-plugin-api
71       - rally_sanity
72       - rally_jobs
73       - refstack_defcore
74       - patrole
75       - snaps_smoke
76       - neutron_trunk
77       - networking-bgpvpn
78       - networking-sfc
79       - barbican
80     jobs:
81       - '{repo}-functest-{container}-{test}-{tag}-run'
82
83 - job-template:
84     name: '{repo}-functest-smoke-{tag}-run'
85     project-type: multijob
86     builders:
87       - multijob:
88           name: smoke
89           projects:
90             - name: '{repo}-functest-smoke-tempest_smoke-{tag}-run'
91             - name: '{repo}-functest-smoke-neutron-tempest-plugin-api-{tag}-run'
92             - name: '{repo}-functest-smoke-rally_sanity-{tag}-run'
93             - name: '{repo}-functest-smoke-rally_jobs-{tag}-run'
94             - name: '{repo}-functest-smoke-refstack_defcore-{tag}-run'
95             - name: '{repo}-functest-smoke-patrole-{tag}-run'
96             - name: '{repo}-functest-smoke-snaps_smoke-{tag}-run'
97             - name: '{repo}-functest-smoke-neutron_trunk-{tag}-run'
98             - name: '{repo}-functest-smoke-networking-bgpvpn-{tag}-run'
99             - name: '{repo}-functest-smoke-networking-sfc-{tag}-run'
100             - name: '{repo}-functest-smoke-barbican-{tag}-run'
101
102 - project:
103     name: '{repo}-functest-smoke-{tag}-run'
104     jobs:
105       - '{repo}-functest-smoke-{tag}-run'
106
107 - project:
108     name: '{repo}-functest-benchmarking-{test}-{tag}-run'
109     container: benchmarking
110     test:
111       - vmtp
112       - shaker
113     jobs:
114       - '{repo}-functest-{container}-{test}-{tag}-run'
115
116 - job-template:
117     name: '{repo}-functest-benchmarking-{tag}-run'
118     project-type: multijob
119     builders:
120       - multijob:
121           name: smoke
122           projects:
123             - name: '{repo}-functest-benchmarking-vmtp-{tag}-run'
124             - name: '{repo}-functest-benchmarking-shaker-{tag}-run'
125
126 - project:
127     name: '{repo}-functest-benchmarking-{tag}-run'
128     jobs:
129       - '{repo}-functest-benchmarking-{tag}-run'
130
131 - project:
132     name: '{repo}-functest-components-{test}-{tag}-run'
133     container: components
134     test:
135       - tempest_full
136       - tempest_scenario
137       - rally_full
138     jobs:
139       - '{repo}-functest-{container}-{test}-{tag}-run'
140
141 - job-template:
142     name: '{repo}-functest-components-{tag}-run'
143     project-type: multijob
144     builders:
145       - multijob:
146           name: components
147           projects:
148             - name: '{repo}-functest-components-tempest_full-{tag}-run'
149             - name: '{repo}-functest-components-tempest_scenario-{tag}-run'
150             - name: '{repo}-functest-components-rally_full-{tag}-run'
151
152 - project:
153     name: '{repo}-functest-components-{tag}-run'
154     jobs:
155       - '{repo}-functest-components-{tag}-run'
156
157 - project:
158     name: '{repo}-functest-vnf-{test}-{tag}-run'
159     container: vnf
160     test:
161       - cloudify
162       - cloudify_ims
163       - heat_ims
164       - vyos_vrouter
165       - juju_epc
166     jobs:
167       - '{repo}-functest-{container}-{test}-{tag}-run'
168
169 - job-template:
170     name: '{repo}-functest-vnf-{tag}-run'
171     project-type: multijob
172     builders:
173       - multijob:
174           name: vnf
175           projects:
176             - name: '{repo}-functest-vnf-cloudify-{tag}-run'
177             - name: '{repo}-functest-vnf-cloudify_ims-{tag}-run'
178             - name: '{repo}-functest-vnf-heat_ims-{tag}-run'
179             - name: '{repo}-functest-vnf-vyos_vrouter-{tag}-run'
180             - name: '{repo}-functest-vnf-juju_epc-{tag}-run'
181
182 - project:
183     name: '{repo}-functest-vnf-{tag}-run'
184     jobs:
185       - '{repo}-functest-vnf-{tag}-run'
186
187 - project:
188     name: '{repo}-functest-features-{test}-{tag}-run'
189     container: features
190     test:
191       - doctor-notification
192       - bgpvpn
193       - functest-odl-sfc
194       - barometercollectd
195       - fds
196       - vgpu
197       - stor4nfv_os
198     jobs:
199       - '{repo}-functest-{container}-{test}-{tag}-run'
200
201 - job-template:
202     name: '{repo}-functest-features-{tag}-run'
203     project-type: multijob
204     builders:
205       - multijob:
206           name: features
207           projects:
208             - name: '{repo}-functest-features-doctor-notification-{tag}-run'
209             - name: '{repo}-functest-features-bgpvpn-{tag}-run'
210             - name: '{repo}-functest-features-functest-odl-sfc-{tag}-run'
211             - name: '{repo}-functest-features-barometercollectd-{tag}-run'
212             - name: '{repo}-functest-features-fds-{tag}-run'
213             - name: '{repo}-functest-features-vgpu-{tag}-run'
214             - name: '{repo}-functest-features-stor4nfv_os-{tag}-run'
215
216 - project:
217     name: '{repo}-functest-features-{tag}-run'
218     jobs:
219       - '{repo}-functest-features-{tag}-run'