forked from envoyproxy/nighthawk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
41 lines (37 loc) · 869 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
licenses(["notice"]) # Apache 2
py_binary(
name = "benchmarks",
srcs = [
"benchmarks.py",
],
srcs_version = "PY2AND3",
deps = [
":benchmarks_envoy_proxy_lib",
"//test/integration:integration_test_base_lean",
],
)
py_test(
name = "test_benchmarks",
srcs = [
"benchmarks.py",
"test/test_discovery.py",
],
main = "benchmarks.py",
srcs_version = "PY2AND3",
deps = [
":benchmarks_envoy_proxy_lib",
"//test/integration:integration_test_base",
],
)
py_library(
name = "benchmarks_envoy_proxy_lib",
srcs = [
"envoy_proxy.py",
],
data = [
"configurations/envoy_proxy.yaml",
"test/templates/simple_plot.html",
],
srcs_version = "PY2AND3",
)