forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
148 lines (141 loc) · 5.13 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
"go_test",
)
go_test(
name = "go_default_test",
srcs = [
"config_test.go",
"plugins_test.go",
"respond_test.go",
],
data = [
":fixtures",
":package-srcs",
],
embed = [":go_default_library"],
tags = ["manual"],
deps = [
"//pkg/genyaml:go_default_library",
"//prow/bugzilla:go_default_library",
"//prow/github:go_default_library",
"@com_github_google_go_cmp//cmp:go_default_library",
"@com_github_google_go_cmp//cmp/cmpopts:go_default_library",
"@com_github_google_gofuzz//:go_default_library",
"@io_k8s_apimachinery//pkg/api/equality:go_default_library",
"@io_k8s_apimachinery//pkg/util/diff:go_default_library",
"@io_k8s_apimachinery//pkg/util/sets:go_default_library",
"@io_k8s_sigs_yaml//:go_default_library",
"@io_k8s_utils//pointer:go_default_library",
],
)
go_library(
name = "go_default_library",
srcs = [
"config.go",
"plugins.go",
"respond.go",
],
importpath = "k8s.io/test-infra/prow/plugins",
deps = [
"//pkg/genyaml:go_default_library",
"//prow/bugzilla:go_default_library",
"//prow/client/clientset/versioned/typed/prowjobs/v1:go_default_library",
"//prow/commentpruner:go_default_library",
"//prow/config:go_default_library",
"//prow/git/v2:go_default_library",
"//prow/github:go_default_library",
"//prow/jira:go_default_library",
"//prow/kube:go_default_library",
"//prow/labels:go_default_library",
"//prow/logrusutil:go_default_library",
"//prow/pluginhelp:go_default_library",
"//prow/plugins/ownersconfig:go_default_library",
"//prow/repoowners:go_default_library",
"//prow/slack:go_default_library",
"//prow/version:go_default_library",
"@com_github_google_go_cmp//cmp:go_default_library",
"@com_github_prometheus_client_golang//prometheus:go_default_library",
"@com_github_sirupsen_logrus//:go_default_library",
"@io_k8s_apimachinery//pkg/util/errors:go_default_library",
"@io_k8s_apimachinery//pkg/util/sets:go_default_library",
"@io_k8s_client_go//kubernetes:go_default_library",
"@io_k8s_client_go//kubernetes/typed/core/v1:go_default_library",
"@io_k8s_sigs_yaml//:go_default_library",
],
)
filegroup(
name = "config-src",
srcs = ["config.go"],
visibility = ["//visibility:public"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//prow/plugins/approve:all-srcs",
"//prow/plugins/assign:all-srcs",
"//prow/plugins/blockade:all-srcs",
"//prow/plugins/blunderbuss:all-srcs",
"//prow/plugins/branchcleaner:all-srcs",
"//prow/plugins/bugzilla:all-srcs",
"//prow/plugins/buildifier:all-srcs",
"//prow/plugins/cat:all-srcs",
"//prow/plugins/cherrypickunapproved:all-srcs",
"//prow/plugins/cla:all-srcs",
"//prow/plugins/dco:all-srcs",
"//prow/plugins/dog:all-srcs",
"//prow/plugins/golint:all-srcs",
"//prow/plugins/goose:all-srcs",
"//prow/plugins/heart:all-srcs",
"//prow/plugins/help:all-srcs",
"//prow/plugins/hold:all-srcs",
"//prow/plugins/invalidcommitmsg:all-srcs",
"//prow/plugins/jira:all-srcs",
"//prow/plugins/label:all-srcs",
"//prow/plugins/lgtm:all-srcs",
"//prow/plugins/lifecycle:all-srcs",
"//prow/plugins/merge-method-comment:all-srcs",
"//prow/plugins/mergecommitblocker:all-srcs",
"//prow/plugins/milestone:all-srcs",
"//prow/plugins/milestoneapplier:all-srcs",
"//prow/plugins/milestonestatus:all-srcs",
"//prow/plugins/override:all-srcs",
"//prow/plugins/owners-label:all-srcs",
"//prow/plugins/ownersconfig:all-srcs",
"//prow/plugins/pony:all-srcs",
"//prow/plugins/project:all-srcs",
"//prow/plugins/projectmanager:all-srcs",
"//prow/plugins/releasenote:all-srcs",
"//prow/plugins/require-matching-label:all-srcs",
"//prow/plugins/retitle:all-srcs",
"//prow/plugins/shrug:all-srcs",
"//prow/plugins/sigmention:all-srcs",
"//prow/plugins/size:all-srcs",
"//prow/plugins/skip:all-srcs",
"//prow/plugins/slackevents:all-srcs",
"//prow/plugins/stage:all-srcs",
"//prow/plugins/transfer-issue:all-srcs",
"//prow/plugins/trick-or-treat:all-srcs",
"//prow/plugins/trigger:all-srcs",
"//prow/plugins/updateconfig:all-srcs",
"//prow/plugins/verify-owners:all-srcs",
"//prow/plugins/welcome:all-srcs",
"//prow/plugins/wip:all-srcs",
"//prow/plugins/yuks:all-srcs",
],
tags = ["automanaged"],
)
filegroup(
name = "fixtures",
srcs = glob(["*.yaml"]),
visibility = ["//visibility:private"],
)