diff --git a/modules/masorange_rules_helm/1.4.1/MODULE.bazel b/modules/masorange_rules_helm/1.4.1/MODULE.bazel new file mode 100644 index 00000000000..27819c6454a --- /dev/null +++ b/modules/masorange_rules_helm/1.4.1/MODULE.bazel @@ -0,0 +1,47 @@ + +module(name = "masorange_rules_helm", version = "1.4.1", bazel_compatibility = [">=6.0.0"]) + +bazel_dep(name = "aspect_bazel_lib", version = "2.3.0") + +bazel_lib_toolchains = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains") +use_repo(bazel_lib_toolchains, "yq_toolchains") + +bazel_dep(name = "platforms", version = "0.0.7") +bazel_dep(name = "bazel_skylib", version = "1.5.0") +bazel_dep(name = "rules_pkg", version = "0.9.1") + +bazel_dep(name = "rules_oci", version = "1.6.0") +bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True) + +oci = use_extension("@rules_oci//oci:extensions.bzl", "oci", dev_dependency = True) +oci.pull( + name = "distroless_java", + digest = "sha256:161a1d97d592b3f1919801578c3a47c8e932071168a96267698f4b669c24c76d", + image = "gcr.io/distroless/java17", +) +use_repo(oci, "distroless_java") + +toolchains = use_extension("@masorange_rules_helm//:extensions.bzl", "toolchains") +toolchains.install() + +use_repo(toolchains, "helm_toolchains") +use_repo(toolchains, "sops_toolchains") +use_repo(toolchains, "kubectl_toolchains") +use_repo(toolchains, "gcloud_toolchains") + +register_toolchains("@helm_toolchains//:all") +register_toolchains("@sops_toolchains//:all") +register_toolchains("@kubectl_toolchains//:all") +register_toolchains("@gcloud_toolchains//:all") + +utils = use_extension("@masorange_rules_helm//:extensions.bzl", "utils", dev_dependency = True) +utils.pull( + name = "nginx-chart", + chart_name = "nginx", + repo_url = "oci://localhost", + version = "1.10.0" +) +use_repo(utils, "nginx-chart") + +deps = use_extension("@masorange_rules_helm//:deps_extension.bzl", "non_module_dependencies") +use_repo(deps, "io_bazel_rules_docker") diff --git a/modules/masorange_rules_helm/1.4.1/presubmit.yml b/modules/masorange_rules_helm/1.4.1/presubmit.yml new file mode 100644 index 00000000000..e9178189d24 --- /dev/null +++ b/modules/masorange_rules_helm/1.4.1/presubmit.yml @@ -0,0 +1,17 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + - windows + bazel: + - 7.x + - 6.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@masorange_rules_helm//...' diff --git a/modules/masorange_rules_helm/1.4.1/source.json b/modules/masorange_rules_helm/1.4.1/source.json new file mode 100644 index 00000000000..87862e2a783 --- /dev/null +++ b/modules/masorange_rules_helm/1.4.1/source.json @@ -0,0 +1,5 @@ +{ + "url": "https://github.com/masmovil/masorange_rules_helm/releases/download/v1.4.1/masorange_rules_helm-v1.4.1.tar.gz", + "integrity": "sha256-kOv8ZDLqYlh/OS2CUjC4G6vUT2nG0qf/r64c7SjtaHw=", + "strip_prefix": "masorange_rules_helm-1.4.1" +} diff --git a/modules/masorange_rules_helm/metadata.json b/modules/masorange_rules_helm/metadata.json new file mode 100644 index 00000000000..f55ab6c0cd7 --- /dev/null +++ b/modules/masorange_rules_helm/metadata.json @@ -0,0 +1,21 @@ +{ + "homepage": "https://github.com/masmovil/masorange_rules_helm", + "maintainers": [ + { + "email": "daniel@etereo.io", + "github": "danigar", + "name": "Daniel Garcia" + }, + { + "email": "pablo.moncada@masmovil.com", + "name": "Pablo Moncada" + } + ], + "repository": [ + "github:masmovil/masorange_rules_helm" + ], + "versions": [ + "1.4.1" + ], + "yanked_versions": {} +}