Debian Codegraph @

tools/run_tests/performance/templates/loadtest_template_prebuilt_all_languages.yaml

raw
1 # Template generated from load test configurations by loadtest_template.py.
2 #
3 # Configuration templates contain client and server configurations for multiple
4 # languages, and may contain template substitution keys. These templates are
5 # used to generate load test configurations by selecting clients and servers for
6 # the required languages. The source files for template generation may be load
7 # test configurations or load test configuration templates. Load test
8 # configuration generation is performed by loadtest_config.py. See documentation
9 # below:
10 # https://github.com/grpc/grpc/blob/master/tools/run_tests/performance/README.md
11 apiVersion: e2etest.grpc.io/v1
12 kind: LoadTest
13 metadata:
14 name: prebuilt_all_languages
15 spec:
16 clients:
17 - language: csharp
18 pool: ${client_pool}
19 run:
20 - args:
21 - -c
22 - |
23 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" dotnet exec \
24 /execute/qps_worker/Grpc.IntegrationTesting.QpsWorker.dll \
25 --driver_port="${DRIVER_PORT}"
26 command:
27 - bash
28 image: ${prebuilt_image_prefix}/csharp:${prebuilt_image_tag}
29 name: main
30 - language: dotnet
31 pool: ${client_pool}
32 run:
33 - args:
34 - -c
35 # TODO(jtattermusch): why is the extra "--" in cmdline needed?
36 - |
37 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
38 /execute/qps_worker/QpsWorker -- --driver_port="${DRIVER_PORT}"
39 command:
40 - bash
41 image: ${prebuilt_image_prefix}/dotnet:${prebuilt_image_tag}
42 name: main
43 - language: cxx
44 pool: ${client_pool}
45 run:
46 - args:
47 - -c
48 - |
49 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
50 /source/code/bazel-bin/test/cpp/qps/qps_worker \
51 --driver_port="${DRIVER_PORT}"
52 command:
53 - bash
54 image: ${prebuilt_image_prefix}/cxx:${prebuilt_image_tag}
55 name: main
56 - language: go
57 pool: ${client_pool}
58 run:
59 - args:
60 - -c
61 - |
62 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
63 /executable/bin/worker \
64 --driver_port="${DRIVER_PORT}"
65 command:
66 - bash
67 image: ${prebuilt_image_prefix}/go:${prebuilt_image_tag}
68 name: main
69 - language: java
70 pool: ${client_pool}
71 run:
72 - args:
73 - -c
74 - |
75 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
76 /run_scripts/run_worker.sh
77 command:
78 - bash
79 image: ${prebuilt_image_prefix}/java:${prebuilt_image_tag}
80 name: main
81 - language: node
82 pool: ${client_pool}
83 run:
84 - args:
85 - -c
86 - |
87 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
88 /execute/worker-linux --benchmark_impl=grpc \
89 --driver_port="${DRIVER_PORT}"
90 command:
91 - bash
92 image: ${prebuilt_image_prefix}/node:${prebuilt_image_tag}
93 name: main
94 - language: php7
95 pool: ${client_pool}
96 run:
97 - args:
98 - -c
99 - |
100 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
101 /run_scripts/run_worker.sh
102 command:
103 - bash
104 image: ${prebuilt_image_prefix}/php7:${prebuilt_image_tag}
105 name: main
106 - language: php7_protobuf_c
107 pool: ${client_pool}
108 run:
109 - args:
110 - -c
111 - |
112 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
113 /run_scripts/run_protobuf_c_worker.sh
114 command:
115 - bash
116 image: ${prebuilt_image_prefix}/php7:${prebuilt_image_tag}
117 name: main
118 - language: python
119 pool: ${client_pool}
120 run:
121 - args:
122 - -c
123 - |
124 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
125 /execute/qps_worker \
126 --driver_port="${DRIVER_PORT}"
127 command:
128 - bash
129 image: ${prebuilt_image_prefix}/python:${prebuilt_image_tag}
130 name: main
131 - language: python_asyncio
132 pool: ${client_pool}
133 run:
134 - args:
135 - -c
136 - |
137 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
138 /execute/benchmark_worker \
139 --driver_port="${DRIVER_PORT}"
140 command:
141 - bash
142 image: ${prebuilt_image_prefix}/python:${prebuilt_image_tag}
143 name: main
144 - language: ruby
145 pool: ${client_pool}
146 run:
147 - args:
148 - -c
149 - |
150 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
151 /execute/src/ruby/qps/worker.rb \
152 --driver_port="${DRIVER_PORT}"
153 command:
154 - bash
155 image: ${prebuilt_image_prefix}/ruby:${prebuilt_image_tag}
156 name: main
157 driver:
158 language: cxx
159 pool: ${driver_pool}
160 run:
161 - image: ${driver_image}
162 name: main
163 results:
164 bigQueryTable: ${big_query_table}
165 servers:
166 - language: csharp
167 pool: ${server_pool}
168 run:
169 - args:
170 - -c
171 - |
172 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" dotnet exec \
173 /execute/qps_worker/Grpc.IntegrationTesting.QpsWorker.dll \
174 --driver_port="${DRIVER_PORT}"
175 command:
176 - bash
177 image: ${prebuilt_image_prefix}/csharp:${prebuilt_image_tag}
178 name: main
179 - language: dotnet
180 pool: ${server_pool}
181 run:
182 - args:
183 - -c
184 - |
185 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
186 /execute/qps_worker/QpsWorker -- --driver_port="${DRIVER_PORT}"
187 command:
188 - bash
189 image: ${prebuilt_image_prefix}/dotnet:${prebuilt_image_tag}
190 name: main
191 - language: cxx
192 pool: ${server_pool}
193 run:
194 - args:
195 - -c
196 - |
197 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
198 /source/code/bazel-bin/test/cpp/qps/qps_worker \
199 --driver_port="${DRIVER_PORT}" --server_port=10010
200 command:
201 - bash
202 image: ${prebuilt_image_prefix}/cxx:${prebuilt_image_tag}
203 name: main
204 - language: go
205 pool: ${server_pool}
206 run:
207 - args:
208 - -c
209 - |
210 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
211 /executable/bin/worker \
212 --driver_port="${DRIVER_PORT}"
213 command:
214 - bash
215 image: ${prebuilt_image_prefix}/go:${prebuilt_image_tag}
216 name: main
217 - language: java
218 pool: ${server_pool}
219 run:
220 - args:
221 - -c
222 - |
223 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
224 /run_scripts/run_worker.sh
225 command:
226 - bash
227 image: ${prebuilt_image_prefix}/java:${prebuilt_image_tag}
228 name: main
229 - language: node
230 pool: ${server_pool}
231 run:
232 - args:
233 - -c
234 - |
235 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
236 /execute/worker-linux --benchmark_impl=grpc \
237 --driver_port="${DRIVER_PORT}"
238 command:
239 - bash
240 image: ${prebuilt_image_prefix}/node:${prebuilt_image_tag}
241 name: main
242 - language: python
243 pool: ${server_pool}
244 run:
245 - args:
246 - -c
247 - |
248 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
249 /execute/qps_worker \
250 --driver_port="${DRIVER_PORT}"
251 command:
252 - bash
253 image: ${prebuilt_image_prefix}/python:${prebuilt_image_tag}
254 name: main
255 - language: python_asyncio
256 pool: ${server_pool}
257 run:
258 - command:
259 - bash
260 image: ${prebuilt_image_prefix}/python:${prebuilt_image_tag}
261 name: main
262 rgs:
263 - -c
264 - |
265 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
266 /execute/benchmark_worker \
267 --driver_port="${DRIVER_PORT}"
268 - language: ruby
269 pool: ${server_pool}
270 run:
271 - args:
272 - -c
273 - |
274 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \
275 /execute/src/ruby/qps/worker.rb \
276 --driver_port="${DRIVER_PORT}"
277 command:
278 - bash
279 image: ${prebuilt_image_prefix}/ruby:${prebuilt_image_tag}
280 name: main
281 timeoutSeconds: ${timeout_seconds}
282 ttlSeconds: 86400