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