-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMODULE.bazel
More file actions
118 lines (114 loc) · 4.81 KB
/
MODULE.bazel
File metadata and controls
118 lines (114 loc) · 4.81 KB
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
module(name = "michelangelo")
###########################################
############ Bazel modules ################
###########################################
bazel_dep(name = "rules_python", version = "0.40.0")
bazel_dep(name = "rules_go", version = "0.50.1", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.40.0", repo_name = "bazel_gazelle")
bazel_dep(name = "rules_python_gazelle_plugin", version = "0.40.0")
bazel_dep(name = "rules_pkg", version = "1.0.1")
bazel_dep(name = "rules_oci", version = "2.0.1")
bazel_dep(name = "rules_proto", version = "7.0.2")
bazel_dep(name = "protobuf", version = "29.0-rc3", repo_name = "com_google_protobuf")
###########################################
########### Toolchain Registrations #######
###########################################
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(
version = "1.23.3",
)
go_sdk.nogo(
includes = ["@//:__subpackages__"],
nogo = "//:default_nogo",
)
###########################################
############# Third-party DEPENDENCIES ####
###########################################
oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
oci.pull(
name = "distroless_base",
digest = "sha256:ccaef5ee2f1850270d453fdf700a5392534f8d1a8ca2acda391fbb6a06b81c86",
image = "gcr.io/distroless/base",
platforms = [
"linux/amd64",
"linux/arm64",
],
)
use_repo(oci, "distroless_base", "distroless_base_linux_amd64", "distroless_base_linux_arm64")
go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//go:go.mod")
use_repo(
go_deps,
"com_github_cadence_workflow_starlark_worker",
"com_github_cenkalti_backoff",
"com_github_dave_dst",
"com_github_go_logr_logr",
"com_github_go_logr_zapr",
"com_github_go_sql_driver_mysql",
"com_github_gobuffalo_flect",
"com_github_gogo_protobuf",
"com_github_gogo_status",
"com_github_golang_mock",
"com_github_golang_protobuf",
"com_github_google_go_cmp",
"com_github_google_uuid",
"com_github_json_iterator_go",
"com_github_michelangelo_ai_michelangelo_proto_go",
"com_github_minio_minio_go_v7",
"com_github_prometheus_client_golang",
"com_github_r3labs_diff_v3",
"com_github_ray_project_kuberay_ray_operator",
"com_github_robfig_cron",
"com_github_stretchr_testify",
"com_github_tidwall_gjson",
"com_github_tidwall_sjson",
"com_github_uber_go_tally",
"com_github_uber_go_tally_v4",
"io_k8s_api",
"io_k8s_apiextensions_apiserver",
"io_k8s_apimachinery",
"io_k8s_apiserver",
"io_k8s_client_go",
"io_k8s_sigs_controller_runtime",
"io_k8s_sigs_yaml",
"io_k8s_utils",
"io_temporal_go_api",
"io_temporal_go_sdk",
"io_temporal_go_sdk_contrib_tally",
"net_starlark_go",
"org_golang_google_genproto",
"org_golang_google_grpc",
"org_golang_google_protobuf",
"org_golang_x_tools",
"org_uber_go_cadence",
"org_uber_go_config",
"org_uber_go_fx",
"org_uber_go_yarpc",
"org_uber_go_zap",
)
go_deps.gazelle_override(
directives = [
"gazelle:proto default",
"gazelle:proto_import_prefix k8s.io/api",
"gazelle:go_generate_proto false",
"gazelle:resolve proto k8s.io/apimachinery/pkg/api/resource/generated.proto @io_k8s_apimachinery//pkg/api/resource:resource_proto",
"gazelle:resolve proto k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto @io_k8s_apimachinery//pkg/apis/meta/v1:v1_proto",
"gazelle:resolve proto k8s.io/apimachinery/pkg/runtime/generated.proto @io_k8s_apimachinery//pkg/runtime:runtime_proto",
"gazelle:resolve proto k8s.io/apimachinery/pkg/runtime/schema/generated.proto @io_k8s_apimachinery//pkg/runtime/schema:schema_proto",
"gazelle:resolve proto k8s.io/apimachinery/pkg/util/intstr/generated.proto @io_k8s_apimachinery//pkg/util/intstr:intstr_proto",
],
path = "k8s.io/api",
)
go_deps.gazelle_override(
directives = [
"gazelle:proto default",
"gazelle:proto_import_prefix k8s.io/apiserver",
"gazelle:go_generate_proto false",
"gazelle:resolve proto k8s.io/apimachinery/pkg/api/resource/generated.proto @io_k8s_apimachinery//pkg/api/resource:resource_proto",
"gazelle:resolve proto k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto @io_k8s_apimachinery//pkg/apis/meta/v1:v1_proto",
"gazelle:resolve proto k8s.io/apimachinery/pkg/runtime/generated.proto @io_k8s_apimachinery//pkg/runtime:runtime_proto",
"gazelle:resolve proto k8s.io/apimachinery/pkg/runtime/schema/generated.proto @io_k8s_apimachinery//pkg/runtime/schema:schema_proto",
"gazelle:resolve proto k8s.io/apimachinery/pkg/util/intstr/generated.proto @io_k8s_apimachinery//pkg/util/intstr:intstr_proto",
],
path = "k8s.io/apiserver",
)