forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
221 lines (216 loc) · 8.16 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_docker//container:bundle.bzl", "container_bundle")
load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push")
load("//prow:def.bzl", "dict_union", "prefix", "prow_push", "tags", "tags_arm64", "tags_ppc64le", "tags_s390x")
load("//def:image.bzl", image_tags = "tags")
prow_push(
name = "release-push",
bundle_name = "release",
images = dict_union(
dict_union(
dict_union(
tags(
cmds = [
"admission",
"branchprotector",
"checkconfig",
"clonerefs",
"config-bootstrapper",
"deck",
"entrypoint",
"exporter",
"gerrit",
"crier",
"generic-autobumper",
"grandmatriarch",
"gcsupload",
"hook",
"hmac",
"horologium",
"initupload",
"invitations-accepter",
"jenkins-operator",
"mkpj",
"mkpod",
"peribolos",
"sidecar",
"sinker",
"status-reconciler",
"sub",
"tide",
"tot",
"pipeline",
"prow-controller-manager",
],
targets = {
"needs-rebase": "//prow/external-plugins/needs-rebase:image",
"cherrypicker": "//prow/external-plugins/cherrypicker:image",
"refresh": "//prow/external-plugins/refresh:image",
"ghproxy": "//ghproxy:image",
"label_sync": "//label_sync:image",
"commenter": "//robots/commenter:image",
"pr-creator": "//robots/pr-creator:image",
"issue-creator": "//robots/issue-creator:image",
"configurator": "//testgrid/cmd/configurator:image",
"transfigure": "//testgrid/cmd/transfigure:image",
"gcsweb": "//gcsweb/cmd/gcsweb:image",
"bumpmonitoring": "//experiment/bumpmonitoring:image",
},
),
tags_arm64(
cmds = [
"clonerefs",
"entrypoint",
"initupload",
"sidecar",
],
),
),
tags_ppc64le(
cmds = [
"clonerefs",
"entrypoint",
"initupload",
"sidecar",
],
),
),
tags_s390x(
cmds = [
"clonerefs",
"entrypoint",
"initupload",
"sidecar",
],
),
),
)
prow_push(
name = "testimage-push",
bundle_name = "testimage",
images = image_tags(
targets = {
# Local registry as documented: https://kind.sigs.k8s.io/docs/user/local-registry/
"localhost:5001/sinker": "//prow/cmd/sinker:image",
"localhost:5001/crier": "//prow/cmd/crier:image",
"localhost:5001/hook": "//prow/cmd/hook:image",
"localhost:5001/horologium": "//prow/cmd/horologium:image",
"localhost:5001/prow-controller-manager": "//prow/cmd/prow-controller-manager:image",
"localhost:5001/deck": "//prow/cmd/deck:image",
"localhost:5001/tide": "//prow/cmd/tide:image",
"localhost:5001/fakeghserver": "//prow/test/integration/fakeghserver:image",
},
),
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//prow/apis/prowjobs:all-srcs",
"//prow/bugzilla:all-srcs",
"//prow/cache:all-srcs",
"//prow/client/clientset/versioned:all-srcs",
"//prow/client/informers/externalversions:all-srcs",
"//prow/client/listers/prowjobs/v1:all-srcs",
"//prow/clonerefs:all-srcs",
"//prow/cmd/admission:all-srcs",
"//prow/cmd/branchprotector:all-srcs",
"//prow/cmd/checkconfig:all-srcs",
"//prow/cmd/clonerefs:all-srcs",
"//prow/cmd/cm2kc:all-srcs",
"//prow/cmd/config-bootstrapper:all-srcs",
"//prow/cmd/crier:all-srcs",
"//prow/cmd/deck:all-srcs",
"//prow/cmd/entrypoint:all-srcs",
"//prow/cmd/exporter:all-srcs",
"//prow/cmd/gcsupload:all-srcs",
"//prow/cmd/generic-autobumper:all-srcs",
"//prow/cmd/gerrit:all-srcs",
"//prow/cmd/grandmatriarch:all-srcs",
"//prow/cmd/hmac:all-srcs",
"//prow/cmd/hook:all-srcs",
"//prow/cmd/horologium:all-srcs",
"//prow/cmd/initupload:all-srcs",
"//prow/cmd/invitations-accepter:all-srcs",
"//prow/cmd/jenkins-operator:all-srcs",
"//prow/cmd/mkpj:all-srcs",
"//prow/cmd/mkpod:all-srcs",
"//prow/cmd/peribolos:all-srcs",
"//prow/cmd/phaino:all-srcs",
"//prow/cmd/phony:all-srcs",
"//prow/cmd/pipeline:all-srcs",
"//prow/cmd/prow-controller-manager:all-srcs",
"//prow/cmd/sidecar:all-srcs",
"//prow/cmd/sinker:all-srcs",
"//prow/cmd/status-reconciler:all-srcs",
"//prow/cmd/sub:all-srcs",
"//prow/cmd/tackle:all-srcs",
"//prow/cmd/tide:all-srcs",
"//prow/cmd/tot:all-srcs",
"//prow/commentpruner:all-srcs",
"//prow/config:all-srcs",
"//prow/crier:all-srcs",
"//prow/cron:all-srcs",
"//prow/deck/jobs:all-srcs",
"//prow/entrypoint:all-srcs",
"//prow/external-plugins/cherrypicker:all-srcs",
"//prow/external-plugins/needs-rebase:all-srcs",
"//prow/external-plugins/refresh:all-srcs",
"//prow/flagutil:all-srcs",
"//prow/gcsupload:all-srcs",
"//prow/genfiles:all-srcs",
"//prow/gerrit/adapter:all-srcs",
"//prow/gerrit/client:all-srcs",
"//prow/ghhook:all-srcs",
"//prow/git:all-srcs",
"//prow/gitattributes:all-srcs",
"//prow/github:all-srcs",
"//prow/githubeventserver:all-srcs",
"//prow/githuboauth:all-srcs",
"//prow/hook:all-srcs",
"//prow/initupload:all-srcs",
"//prow/interrupts:all-srcs",
"//prow/io:all-srcs",
"//prow/jenkins:all-srcs",
"//prow/jira:all-srcs",
"//prow/kube:all-srcs",
"//prow/labels:all-srcs",
"//prow/logrusutil:all-srcs",
"//prow/metrics:all-srcs",
"//prow/phony:all-srcs",
"//prow/pipeline/clientset/versioned:all-srcs",
"//prow/pipeline/informers/externalversions:all-srcs",
"//prow/pipeline/listers/pipeline/v1alpha1:all-srcs",
"//prow/pjutil:all-srcs",
"//prow/pkg/layeredsets:all-srcs",
"//prow/plank:all-srcs",
"//prow/pluginhelp:all-srcs",
"//prow/plugins:all-srcs",
"//prow/pod-utils/clone:all-srcs",
"//prow/pod-utils/decorate:all-srcs",
"//prow/pod-utils/downwardapi:all-srcs",
"//prow/pod-utils/gcs:all-srcs",
"//prow/pod-utils/options:all-srcs",
"//prow/pod-utils/wrapper:all-srcs",
"//prow/prstatus:all-srcs",
"//prow/pubsub/subscriber:all-srcs",
"//prow/repoowners:all-srcs",
"//prow/secretutil:all-srcs",
"//prow/sidecar:all-srcs",
"//prow/simplifypath:all-srcs",
"//prow/slack:all-srcs",
"//prow/spyglass:all-srcs",
"//prow/statusreconciler:all-srcs",
"//prow/test:all-srcs",
"//prow/testutil:all-srcs",
"//prow/tide:all-srcs",
"//prow/version:all-srcs",
],
tags = ["automanaged"],
)