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