forked from cert-manager/cert-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
72 lines (66 loc) · 2.18 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
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle")
load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push")
# export WORKSPACE so workspace_binary rules can be used outside the root
exports_files(["WORKSPACE"])
# gazelle:proto disable_global
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",
"{STABLE_DOCKER_REPO}/cert-manager-cainjector:{STABLE_DOCKER_TAG}": "//cmd/cainjector:image",
},
)
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/cainjector:all-srcs",
"//cmd/controller:all-srcs",
"//cmd/webhook:all-srcs",
"//deploy: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/feature:all-srcs",
"//pkg/internal:all-srcs",
"//pkg/issuer:all-srcs",
"//pkg/logs:all-srcs",
"//pkg/metrics:all-srcs",
"//pkg/scheduler:all-srcs",
"//pkg/util:all-srcs",
"//pkg/webhook/validation:all-srcs",
"//test/acme/dns:all-srcs",
"//test/e2e:all-srcs",
"//test/unit/gen:all-srcs",
"//test/unit/listers:all-srcs",
"//test/util:all-srcs",
"//third_party:all-srcs",
"//vendor:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)