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