Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com>
  • Loading branch information
publish-to-bcr-bot[bot] authored and antonovvk committed Jan 20, 2024
1 parent 79d49a8 commit 58ef670
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 1 deletion.
37 changes: 37 additions & 0 deletions modules/rules_helm/0.0.10/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
"""abrisco/rules_helm"""

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

bazel_dep(name = "platforms", version = "0.0.5")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "stardoc", version = "0.6.2", repo_name = "io_bazel_stardoc")
bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")
bazel_dep(name = "rules_oci", version = "1.6.0")

# This is unfortunately requried by `rules_oci`.
bazel_dep(name = "aspect_bazel_lib", version = "1.34.0")

helm = use_extension("@rules_helm//helm:extensions.bzl", "helm")
helm.options()
use_repo(
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",
)
20 changes: 20 additions & 0 deletions modules/rules_helm/0.0.10/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
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:
# TODO(abrisco/rules_helm#1): Add windows support
platform: ["macos", "ubuntu2004"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
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.0.10/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-CUaOipEia8nV6XOy/iSzyH2wCPLN3fp7imqremKhYKU=",
"strip_prefix": "",
"url": "https://github.com/abrisco/rules_helm/releases/download/0.0.10/rules_helm-v0.0.10.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 @@ -11,7 +11,8 @@
"github:abrisco/rules_helm"
],
"versions": [
"0.0.9"
"0.0.9",
"0.0.10"
],
"yanked_versions": {}
}

0 comments on commit 58ef670

Please sign in to comment.