forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
130 lines (124 loc) · 3.92 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
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_docker//docker:docker.bzl", "docker_bundle")
load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push")
load(
":prow.bzl",
prow_docker_tags = "docker_tags",
prow_prefix = "prefix",
prow_tags = "tags",
)
docker_bundle(
name = "release",
images = prow_tags(
"branchprotector",
"clonerefs",
"entrypoint",
"deck",
"hook",
"horologium",
"initupload",
"jenkins-operator",
"plank",
"sidecar",
"sinker",
"splice",
"tide",
"tot",
) + prow_docker_tags(**{
prow_prefix("needs-rebase"): "//prow/external-plugins/needs-rebase:image",
}),
stamp = True,
)
docker_push(
name = "release-push",
bundle = ":release",
)
filegroup(
name = "configs",
srcs = glob(["*.yaml"]),
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//prow/apis/prowjobs:all-srcs",
"//prow/artifact-uploader: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/cluster:all-srcs",
"//prow/cmd/artifact-uploader:all-srcs",
"//prow/cmd/branchprotector:all-srcs",
"//prow/cmd/build:all-srcs",
"//prow/cmd/clonerefs:all-srcs",
"//prow/cmd/config:all-srcs",
"//prow/cmd/deck:all-srcs",
"//prow/cmd/entrypoint:all-srcs",
"//prow/cmd/gcsupload:all-srcs",
"//prow/cmd/gerrit:all-srcs",
"//prow/cmd/hook:all-srcs",
"//prow/cmd/horologium:all-srcs",
"//prow/cmd/initupload:all-srcs",
"//prow/cmd/jenkins-operator:all-srcs",
"//prow/cmd/mkbuild-cluster:all-srcs",
"//prow/cmd/mkpj:all-srcs",
"//prow/cmd/mkpod:all-srcs",
"//prow/cmd/peribolos:all-srcs",
"//prow/cmd/phony:all-srcs",
"//prow/cmd/plank:all-srcs",
"//prow/cmd/sidecar:all-srcs",
"//prow/cmd/sinker:all-srcs",
"//prow/cmd/splice:all-srcs",
"//prow/cmd/tide:all-srcs",
"//prow/cmd/tot:all-srcs",
"//prow/commentpruner:all-srcs",
"//prow/config:all-srcs",
"//prow/cron:all-srcs",
"//prow/deck/jobs:all-srcs",
"//prow/entrypoint:all-srcs",
"//prow/errorutil: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:all-srcs",
"//prow/git:all-srcs",
"//prow/github:all-srcs",
"//prow/githuboauth:all-srcs",
"//prow/hook:all-srcs",
"//prow/initupload:all-srcs",
"//prow/jenkins:all-srcs",
"//prow/kube:all-srcs",
"//prow/logrusutil:all-srcs",
"//prow/metrics:all-srcs",
"//prow/phony:all-srcs",
"//prow/pjutil: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/repoowners:all-srcs",
"//prow/report:all-srcs",
"//prow/sidecar:all-srcs",
"//prow/slack:all-srcs",
"//prow/spyglass:all-srcs",
"//prow/test:all-srcs",
"//prow/tide:all-srcs",
],
tags = ["automanaged"],
)