-
Notifications
You must be signed in to change notification settings - Fork 13
/
MODULE.bazel
49 lines (42 loc) · 1.58 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
"""abrisco/rules_helm"""
module(
name = "rules_helm",
version = "0.9.2",
compatibility_level = 1,
)
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_go", version = "0.50.1", repo_name = "io_bazel_rules_go")
# This is unfortunately required by `rules_oci`.
# https://github.com/bazel-contrib/rules_oci/issues/575
bazel_dep(name = "aspect_bazel_lib", version = "2.7.2", dev_dependency = True)
bazel_dep(name = "rules_oci", version = "2.0.0", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.23.0")
helm = use_extension("@rules_helm//helm:extensions.bzl", "helm")
helm.options()
use_repo(
helm,
"helm",
"helm_darwin_amd64_toolchain",
"helm_darwin_arm64_toolchain",
"helm_linux_amd64_toolchain",
"helm_linux_arm64_toolchain",
"helm_windows_amd64_toolchain",
)
use_repo(helm, "go_yaml_yaml")
register_toolchains(
"@helm_darwin_amd64_toolchain//:toolchain",
"@helm_darwin_arm64_toolchain//:toolchain",
"@helm_linux_amd64_toolchain//:toolchain",
"@helm_linux_arm64_toolchain//:toolchain",
"@helm_windows_amd64_toolchain//:toolchain",
)
helm_test = use_extension("@rules_helm//tests:test_extensions.bzl", "helm_test", dev_dependency = True)
use_repo(
helm_test,
"helm_test_deps__with_chart_deps_postgresql",
"helm_test_deps__with_chart_deps_redis",
"rules_helm_test_container_base",
)