558956f6f125af9f66d493c9a78fc0b499ada735
[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       - vmtp
72       - shaker
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-refstack_defcore-{tag}-run'
92             - name: '{repo}-functest-smoke-patrole-{tag}-run'
93             - name: '{repo}-functest-smoke-vmtp-{tag}-run'
94             - name: '{repo}-functest-smoke-shaker-{tag}-run'
95             - name: '{repo}-functest-smoke-snaps_smoke-{tag}-run'
96             - name: '{repo}-functest-smoke-neutron_trunk-{tag}-run'
97             - name: '{repo}-functest-smoke-networking-bgpvpn-{tag}-run'
98             - name: '{repo}-functest-smoke-networking-sfc-{tag}-run'
99             - name: '{repo}-functest-smoke-barbican-{tag}-run'
100
101 - project:
102     name: '{repo}-functest-smoke-{tag}-run'
103     jobs:
104       - '{repo}-functest-smoke-{tag}-run'
105
106 - project:
107     name: '{repo}-functest-components-{test}-{tag}-run'
108     container: components
109     test:
110       - tempest_full
111       - tempest_scenario
112       - rally_full
113     jobs:
114       - '{repo}-functest-{container}-{test}-{tag}-run'
115
116 - job-template:
117     name: '{repo}-functest-components-{tag}-run'
118     project-type: multijob
119     builders:
120       - multijob:
121           name: components
122           projects:
123             - name: '{repo}-functest-components-tempest_full-{tag}-run'
124             - name: '{repo}-functest-components-tempest_scenario-{tag}-run'
125             - name: '{repo}-functest-components-rally_full-{tag}-run'
126
127 - project:
128     name: '{repo}-functest-components-{tag}-run'
129     jobs:
130       - '{repo}-functest-components-{tag}-run'
131
132 - project:
133     name: '{repo}-functest-vnf-{test}-{tag}-run'
134     container: vnf
135     test:
136       - cloudify
137       - cloudify_ims
138       - heat_ims
139       - vyos_vrouter
140       - juju_epc
141     jobs:
142       - '{repo}-functest-{container}-{test}-{tag}-run'
143
144 - job-template:
145     name: '{repo}-functest-vnf-{tag}-run'
146     project-type: multijob
147     builders:
148       - multijob:
149           name: vnf
150           projects:
151             - name: '{repo}-functest-vnf-cloudify-{tag}-run'
152             - name: '{repo}-functest-vnf-cloudify_ims-{tag}-run'
153             - name: '{repo}-functest-vnf-heat_ims-{tag}-run'
154             - name: '{repo}-functest-vnf-vyos_vrouter-{tag}-run'
155             - name: '{repo}-functest-vnf-juju_epc-{tag}-run'
156
157 - project:
158     name: '{repo}-functest-vnf-{tag}-run'
159     jobs:
160       - '{repo}-functest-vnf-{tag}-run'
161
162 - project:
163     name: '{repo}-functest-features-{test}-{tag}-run'
164     container: features
165     test:
166       - doctor-notification
167       - bgpvpn
168       - functest-odl-sfc
169       - barometercollectd
170       - fds
171       - vgpu
172       - stor4nfv_os
173     jobs:
174       - '{repo}-functest-{container}-{test}-{tag}-run'
175
176 - job-template:
177     name: '{repo}-functest-features-{tag}-run'
178     project-type: multijob
179     builders:
180       - multijob:
181           name: features
182           projects:
183             - name: '{repo}-functest-features-doctor-notification-{tag}-run'
184             - name: '{repo}-functest-features-bgpvpn-{tag}-run'
185             - name: '{repo}-functest-features-functest-odl-sfc-{tag}-run'
186             - name: '{repo}-functest-features-barometercollectd-{tag}-run'
187             - name: '{repo}-functest-features-fds-{tag}-run'
188             - name: '{repo}-functest-features-vgpu-{tag}-run'
189             - name: '{repo}-functest-features-stor4nfv_os-{tag}-run'
190
191 - project:
192     name: '{repo}-functest-features-{tag}-run'
193     jobs:
194       - '{repo}-functest-features-{tag}-run'