...
1"""imports spegel manifests"""
2
3load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_file")
4load("//hack/build/rules/container:index.bzl", "container_push")
5load("//hack/tools/helm:helm.bzl", "helm_template")
6
7package(default_visibility = ["//visibility:public"])
8
9helm_template(
10 name = "template_spegel_manifests",
11 chart = "@spegel_helm_chart//:file",
12 namespace = "spegel",
13 release_name = "spegel",
14)
15
16write_source_file(
17 name = "write_rendered_manifests",
18 in_file = ":template_spegel_manifests",
19 out_file = "base/manifests.yaml",
20)
21
22container_push(
23 name = "spegel_container_push",
24 digest = "@spegel//:digest",
25 from_third_party = True,
26 image = "@spegel//:spegel",
27 image_name = "ghcr.io/spegel-org/spegel",
28 repository_file = "//hack/build/rules/container:thirdparty-repo",
29 tag = "v0.0.27",
30 visibility = ["//visibility:public"],
31)
View as plain text