forked from cert-manager/cert-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
59 lines (55 loc) · 1.68 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
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle")
load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push")
container_bundle(
name = "images",
images = {
"{STABLE_DOCKER_REPO}/cert-manager-controller:{STABLE_DOCKER_TAG}": "//cmd/controller:image",
"{STABLE_DOCKER_REPO}/cert-manager-acmesolver:{STABLE_DOCKER_TAG}": "//cmd/acmesolver:image",
"{STABLE_DOCKER_REPO}/cert-manager-webhook:{STABLE_DOCKER_TAG}": "//cmd/webhook:image",
},
stamp = True,
)
docker_push(
name = "images.push",
bundle = ":images",
)
filegroup(
name = "package-srcs",
srcs = glob(
["**"],
exclude = [
"bazel-*/**",
".git/**",
],
),
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//cmd/acmesolver:all-srcs",
"//cmd/controller:all-srcs",
"//cmd/webhook:all-srcs",
"//contrib:all-srcs",
"//docs/generated/reference:all-srcs",
"//hack:all-srcs",
"//pkg/acme:all-srcs",
"//pkg/api:all-srcs",
"//pkg/apis:all-srcs",
"//pkg/client/clientset/versioned:all-srcs",
"//pkg/client/informers/externalversions:all-srcs",
"//pkg/client/listers/certmanager/v1alpha1:all-srcs",
"//pkg/controller:all-srcs",
"//pkg/issuer:all-srcs",
"//pkg/logs:all-srcs",
"//pkg/scheduler:all-srcs",
"//pkg/util:all-srcs",
"//test/e2e:all-srcs",
"//test/util:all-srcs",
"//third_party:all-srcs",
"//vendor:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)