forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 41
/
BUILD.bazel
73 lines (68 loc) · 1.93 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
load("@py_deps//:requirements.bzl", "requirement")
py_binary(
name = "flakedetector",
srcs = ["flakedetector.py"],
python_version = "PY3",
deps = [requirement("requests")],
)
py_binary(
name = "generate_tests",
srcs = ["generate_tests.py"],
data = [
"test_config.yaml",
"//config:prowjobs",
"//config:testgrids",
"//config/prow:configs",
"//jobs",
],
python_version = "PY3",
deps = [requirement("ruamel.yaml")],
)
py_binary(
name = "prepare_release_branch",
srcs = ["prepare_release_branch.py"],
args = [
"$(location //experiment/config-rotator)",
"$(location //experiment/config-forker)",
"$(location :generate_tests)",
],
data = [
":generate_tests",
"//experiment/config-forker",
"//experiment/config-rotator",
],
python_version = "PY3",
deps = [
requirement("ruamel.yaml"),
requirement("sh"),
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//experiment/add-hook:all-srcs",
"//experiment/autobumper:all-srcs",
"//experiment/aws-stockout:all-srcs",
"//experiment/ci-janitor:all-srcs",
"//experiment/config-forker:all-srcs",
"//experiment/config-rotator:all-srcs",
"//experiment/coverage:all-srcs",
"//experiment/dummybenchmarks:all-srcs",
"//experiment/image-bumper:all-srcs",
"//experiment/logviewer/gcsreader:all-srcs",
"//experiment/manual-trigger:all-srcs",
"//experiment/resultstore:all-srcs",
"//experiment/service-account-creator:all-srcs",
"//experiment/slack-oncall-updater:all-srcs",
"//experiment/tracer:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)