Skip to content

Commit 069abd4

Browse files
Release: https://github.com/abrisco/rules_helm/releases/tag/0.18.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com>
1 parent 94933cf commit 069abd4

File tree

4 files changed

+90
-1
lines changed

4 files changed

+90
-1
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
"""abrisco/rules_helm"""
2+
3+
module(
4+
name = "rules_helm",
5+
version = "0.18.0",
6+
compatibility_level = 1,
7+
)
8+
9+
bazel_dep(name = "platforms", version = "1.0.0")
10+
bazel_dep(name = "bazel_skylib", version = "1.8.2")
11+
bazel_dep(name = "rules_go", version = "0.59.0")
12+
bazel_dep(name = "gazelle", version = "0.47.0")
13+
bazel_dep(name = "bazel_lib", version = "3.0.0")
14+
15+
# TODO: https://github.com/bazel-contrib/rules_oci/issues/575
16+
# `aspect_bazel_lib` is unfortunately required by `rules_oci`
17+
bazel_dep(name = "aspect_bazel_lib", version = "2.20.0", dev_dependency = True)
18+
bazel_dep(name = "rules_oci", version = "2.2.6", dev_dependency = True)
19+
bazel_dep(name = "rules_img", version = "0.2.6", dev_dependency = True)
20+
bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True)
21+
bazel_dep(name = "rules_rust_mdbook", version = "0.66.0", dev_dependency = True)
22+
bazel_dep(name = "rules_shell", version = "0.5.1", dev_dependency = True)
23+
24+
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
25+
go_sdk.download(version = "1.25.4")
26+
27+
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
28+
go_deps.from_file(go_mod = "//:go.mod")
29+
use_repo(
30+
go_deps,
31+
"in_gopkg_yaml_v3",
32+
)
33+
34+
helm = use_extension("@rules_helm//helm:extensions.bzl", "helm")
35+
use_repo(
36+
helm,
37+
"helm",
38+
"helm_darwin_amd64_toolchain",
39+
"helm_darwin_arm64_toolchain",
40+
"helm_linux_amd64_toolchain",
41+
"helm_linux_arm64_toolchain",
42+
"helm_windows_amd64_toolchain",
43+
)
44+
45+
register_toolchains(
46+
"@helm_darwin_amd64_toolchain//:toolchain",
47+
"@helm_darwin_arm64_toolchain//:toolchain",
48+
"@helm_linux_amd64_toolchain//:toolchain",
49+
"@helm_linux_arm64_toolchain//:toolchain",
50+
"@helm_windows_amd64_toolchain//:toolchain",
51+
)
52+
53+
helm_test = use_extension("@rules_helm//tests:test_extensions.bzl", "helm_test", dev_dependency = True)
54+
use_repo(
55+
helm_test,
56+
"helm_cm_push_linux",
57+
"helm_cm_push_macos",
58+
"helm_cm_push_windows",
59+
"helm_test_deps__with_external_deps_grafana",
60+
"helm_test_deps__with_external_deps_postgresql",
61+
"helm_test_deps__with_external_deps_redis",
62+
"rules_helm_test_img_container_base",
63+
"rules_helm_test_oci_container_base",
64+
)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
bcr_test_module:
3+
# TODO(abrisco/rules_helm#38): Have this run in a regression test
4+
# directory which is consuming rules_helm and not just testing
5+
# within the same repository.
6+
module_path: "."
7+
matrix:
8+
platform: ["macos_arm64", "ubuntu2004", "windows"]
9+
bazel: ["7.x", "8.x"]
10+
tasks:
11+
run_tests:
12+
name: "Run test module"
13+
platform: ${{ platform }}
14+
bazel: ${{ bazel }}
15+
build_flags:
16+
- "--config=strict"
17+
test_targets:
18+
- "--"
19+
- "//..."
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"integrity": "sha256-2SSbKx5CKcaUxE22YczJyu2RCBKCZd4zab8dtBc8xZQ=",
3+
"strip_prefix": "",
4+
"url": "https://github.com/abrisco/rules_helm/releases/download/0.18.0/rules_helm-v0.18.0.tar.gz"
5+
}

modules/rules_helm/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"0.14.0",
3434
"0.15.0",
3535
"0.16.0",
36-
"0.17.0"
36+
"0.17.0",
37+
"0.18.0"
3738
],
3839
"yanked_versions": {}
3940
}

0 commit comments

Comments
 (0)