Skip to content

Commit

Permalink
Publish abrisco/[email protected] (#1325)
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 Jan 13, 2024
1 parent 0d5bfb9 commit 7bde6a3
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
37 changes: 37 additions & 0 deletions modules/rules_helm/0.0.9/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.9",
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.2.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.9/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.9/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-0BmoXUR3jAuP7Zx+2xePIUxqhWiPveJUvacTE3VLlR4=",
"strip_prefix": "",
"url": "https://github.com/abrisco/rules_helm/releases/download/0.0.9/rules_helm-v0.0.9.tar.gz"
}
17 changes: 17 additions & 0 deletions modules/rules_helm/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/abrisco/rules_helm",
"maintainers": [
{
"name": "Andre Brisco",
"email": "[email protected]",
"github": "abrisco"
}
],
"repository": [
"github:abrisco/rules_helm"
],
"versions": [
"0.0.9"
],
"yanked_versions": {}
}

0 comments on commit 7bde6a3

Please sign in to comment.