-
Notifications
You must be signed in to change notification settings - Fork 0
/
MODULE.bazel
51 lines (45 loc) · 1.54 KB
/
MODULE.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
"""gopskit is a custom toolkit centered around the FMJ Studios Operations Kubernetes Cluster"""
module(
name = "gopskit",
repo_name = "com_github_fmjstudios_gopskit",
)
bazel_dep(name = "rules_go", version = "0.49.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.38.0", repo_name = "bazel_gazelle")
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.23.2")
go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_dgraph_io_badger_v4",
"com_github_go_resty_resty_v2",
"com_github_hashicorp_hcl_v2",
"com_github_hashicorp_vault_client_go",
"com_github_luzifer_go_dhparam",
"com_github_spf13_cobra",
"com_github_stretchr_testify",
"com_github_vmware_labs_yaml_jsonpath",
"in_gopkg_yaml_v3",
"io_k8s_api",
"io_k8s_apimachinery",
"io_k8s_cli_runtime",
"io_k8s_client_go",
"org_golang_x_mod",
"org_golang_x_sync",
"org_golang_x_text",
"org_uber_go_zap",
)
# DO NOT REMOVE! Cannot build with Resty without this
# ref: https://github.com/bazelbuild/bazel-gazelle/issues/1885
go_deps.gazelle_override(
path = "github.com/go-resty/resty/v2",
)
# Disable Protobuf BUILD file generation for BadgerDB, since
# they'll most likely fail the build since we do not have a C/CXX
# toolchain registered
go_deps.gazelle_override(
directives = [
"gazelle:proto disable_global",
],
path = "github.com/dgraph-io/badger/v4",
)