Skip to content

Commit

Permalink
Add rules_kustomize@0.2.0 (#355)
Browse files Browse the repository at this point in the history
Impound Bazel rules for the Kubernetes-related "kustomize" tool
defined in the "bisontrails/rules_kustomize" GitHub repository.
  • Loading branch information
seh committed Jan 30, 2023
1 parent 7f5b5be commit 36532f8
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
23 changes: 23 additions & 0 deletions modules/rules_kustomize/0.2.0/MODULE.bazel
@@ -0,0 +1,23 @@
module(
name = "rules_kustomize",
version = "0.2.0",
)

bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.6")

helm = use_extension("//kustomize:extensions.bzl", "helm")
use_repo(
helm,
"helm_tool_toolchains",
)

register_toolchains("@helm_tool_toolchains//:all")

kustomize = use_extension("//kustomize:extensions.bzl", "kustomize")
use_repo(
kustomize,
"kustomize_tool_toolchains",
)

register_toolchains("@kustomize_tool_toolchains//:all")
22 changes: 22 additions & 0 deletions modules/rules_kustomize/0.2.0/presubmit.yml
@@ -0,0 +1,22 @@
matrix: &matrix
platform:
- centos7
- debian10
- macos
- ubuntu2004
- windows
tasks:
verify_targets:
name: Verify that all tests succeed
platform: ${{ platform }}
test_targets:
- '@rules_kustomize//test:all'
bcr_test_module:
module_path: examples/bzlmod
matrix: *matrix
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
build_targets:
- //root
5 changes: 5 additions & 0 deletions modules/rules_kustomize/0.2.0/source.json
@@ -0,0 +1,5 @@
{
"integrity": "sha256-sp2pBpBlN0/W7j5Gl7u+UNFtTzcnk1CTlA5sCV6QMWo=",
"strip_prefix": "rules_kustomize-0.2.0",
"url": "https://github.com/bisontrails/rules_kustomize/archive/refs/tags/v0.2.0.tar.gz"
}
17 changes: 17 additions & 0 deletions modules/rules_kustomize/metadata.json
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/bisontrails/rules_kustomize",
"maintainers": [
{
"email": "seh@panix.com",
"github": "seh",
"name": "Steven E. Harris"
}
],
"repository": [
"github:bisontrails/rules_kustomize"
],
"versions": [
"0.2.0"
],
"yanked_versions": {}
}

0 comments on commit 36532f8

Please sign in to comment.