forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
42 lines (37 loc) · 925 Bytes
/
BUILD.bazel
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
42
load("@py3_deps//:requirements.bzl", "requirement")
package(default_visibility = ["//visibility:public"])
py_test(
name = "config_test",
srcs = ["config.py"],
data = [
":configs",
],
main = "config.py",
python_version = "PY3",
deps = [requirement("ruamel.yaml")],
)
filegroup(
name = "configs",
srcs = glob(["**/*.yaml"]) + [
"//velodrome/fetcher:configs",
"//velodrome/sql:configs",
"//velodrome/token-counter:configs",
"//velodrome/transform:configs",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//velodrome/fetcher:all-srcs",
"//velodrome/sql:all-srcs",
"//velodrome/token-counter:all-srcs",
"//velodrome/transform:all-srcs",
],
)