From 58ef670ba3f7d899e1ef56a73170f0bcbf59d0ad Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 22:22:05 +0100 Subject: [PATCH] Publish abrisco/rules_helm@0.0.10 (#1341) Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> --- modules/rules_helm/0.0.10/MODULE.bazel | 37 +++++++++++++++++++++++++ modules/rules_helm/0.0.10/presubmit.yml | 20 +++++++++++++ modules/rules_helm/0.0.10/source.json | 5 ++++ modules/rules_helm/metadata.json | 3 +- 4 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 modules/rules_helm/0.0.10/MODULE.bazel create mode 100644 modules/rules_helm/0.0.10/presubmit.yml create mode 100644 modules/rules_helm/0.0.10/source.json diff --git a/modules/rules_helm/0.0.10/MODULE.bazel b/modules/rules_helm/0.0.10/MODULE.bazel new file mode 100644 index 00000000000..89d88e1e366 --- /dev/null +++ b/modules/rules_helm/0.0.10/MODULE.bazel @@ -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", +) diff --git a/modules/rules_helm/0.0.10/presubmit.yml b/modules/rules_helm/0.0.10/presubmit.yml new file mode 100644 index 00000000000..4882537f51f --- /dev/null +++ b/modules/rules_helm/0.0.10/presubmit.yml @@ -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" diff --git a/modules/rules_helm/0.0.10/source.json b/modules/rules_helm/0.0.10/source.json new file mode 100644 index 00000000000..72b5b815b29 --- /dev/null +++ b/modules/rules_helm/0.0.10/source.json @@ -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" +} diff --git a/modules/rules_helm/metadata.json b/modules/rules_helm/metadata.json index d6f7d83f4b0..a00acdd1926 100644 --- a/modules/rules_helm/metadata.json +++ b/modules/rules_helm/metadata.json @@ -11,7 +11,8 @@ "github:abrisco/rules_helm" ], "versions": [ - "0.0.9" + "0.0.9", + "0.0.10" ], "yanked_versions": {} }