forked from GoogleCloudPlatform/elcarro-oracle-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
46 lines (41 loc) · 1.27 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
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:prefix github.com/GoogleCloudPlatform/elcarro-oracle-operator
# gazelle:resolve go github.com/godror/godror @com_github_godror_godror//:godror
# gazelle:proto disable
gazelle(name = "gazelle")
# To use gazelle you need to use `fix` to fix BUILD rules, and `update-repos` to sync deps.bzl with go.mod
# bazel run //:gazelle -- fix
# bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%go_dependencies
# tools.go tools can be used via these aliases.
alias(
name = "kustomize",
actual = "@io_k8s_sigs_kustomize_kustomize_v4//:v4",
)
filegroup(
name = "package-srcs",
srcs = glob(
["**"],
exclude = [
"bazel-*/**",
".git/**",
],
),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//common/api/v1alpha1:all-srcs",
"//common/controllers:all-srcs",
"//common/pkg/maintenance:all-srcs",
"//common/pkg/ns:all-srcs",
"//common/pkg/utils:all-srcs",
"//hack:all-srcs",
"//oracle:all-srcs",
"//third_party/monitoring:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)