Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] #2305

Merged
merged 1 commit into from
Jun 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions modules/rules_helm/0.5.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
"""abrisco/rules_helm"""

module(
name = "rules_helm",
version = "0.5.0",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "stardoc", version = "0.6.2", repo_name = "io_bazel_stardoc")
bazel_dep(name = "rules_go", version = "0.45.1", repo_name = "io_bazel_rules_go")
bazel_dep(name = "rules_oci", version = "1.7.2")

# This is unfortunately required by `rules_oci`.
# https://github.com/bazel-contrib/rules_oci/issues/575
bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")

go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.18.10")

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")
use_repo(helm, "helm_test_deps__with_chart_deps", "rules_helm_test_container_base")

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",
)
21 changes: 21 additions & 0 deletions modules/rules_helm/0.5.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
bcr_test_module:
# TODO(abrisco/rules_helm#38): Have this run in a regression test
# directory which is consuming rules_helm and not just testing
# within the same repository.
module_path: "."
matrix:
platform: ["macos", "ubuntu2004", "windows"]
bazel: ["6.x", "7.x"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- "--config=strict"
test_targets:
- "--"
- "//..."
# Docs test renders differently in bcr CI, don't test this.
- "-//docs:docs_diff_test"
5 changes: 5 additions & 0 deletions modules/rules_helm/0.5.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-rGyy5jLKTchuIK60AzJTc0bQegIxMnKEkE+Ot6wYTl8=",
"strip_prefix": "",
"url": "https://github.com/abrisco/rules_helm/releases/download/0.5.0/rules_helm-v0.5.0.tar.gz"
}
3 changes: 2 additions & 1 deletion modules/rules_helm/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"0.3.0",
"0.3.1",
"0.3.2",
"0.4.0"
"0.4.0",
"0.5.0"
],
"yanked_versions": {}
}