yesod-mirror/tools/jsonnet_compiler/helm_support/BUILD.bazel
Copybara 8157b39ea4
Some checks failed
CI / build (push) Failing after 12s
Project import generated by Copybara.
GitOrigin-RevId: 6370f6ea785709295b6abcf9c60717cacf3ac432
2026-01-20 21:26:21 +00:00

26 lines
776 B
Text

load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
load("@rules_go//go:def.bzl", "go_library")
copy_file(
name = "copy_helm",
src = select({
"@platforms//os:macos": "@helm_macos_aarch64//:helm",
"@platforms//os:linux": "@helm_linux_x86_64//:helm",
}),
out = "helm",
is_executable = True,
)
go_library(
name = "helm_support",
srcs = ["helm_support.go"],
embedsrcs = ["helm"],
importpath = "forgejo.csbx.dev/acmcarther/yesod/tools/jsonnet_compiler/helm_support",
visibility = ["//visibility:public"],
deps = [
"@com_github_grafana_tanka//pkg/kubernetes/manifest",
"@in_gopkg_yaml_v3//:yaml_v3",
"@jsonnet_go//:go_default_library",
"@jsonnet_go//ast:go_default_library",
],
)