constellation/internal/helm/imageversion/BUILD.bazel
Moritz Sanft 968cdc1a38
cli: move cli/internal libraries (#2623)
* cli: move internal packages

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* cli: fix buildfiles

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* bazel: fix exclude dir

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* cli: move back libraries that will not be used by TF provider

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

---------

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
2023-11-22 14:52:56 +01:00

40 lines
1.0 KiB
Python

# gazelle:ignore
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/oci:containers.bzl", "helm_containers")
load("//bazel/oci:pin.bzl", "oci_go_source")
GENERATED_SRCS = [
":" + container["name"]
for container in helm_containers()
]
go_library(
name = "imageversion",
srcs = ["imageversion.go"] + GENERATED_SRCS, # keep
importpath = "github.com/edgelesssys/constellation/v2/internal/helm/imageversion",
visibility = ["//:__subpackages__"],
deps = ["//internal/containerimage"],
)
[
oci_go_source(
name = container["name"],
identifier = container["identifier"],
image_name = container["image_name"],
oci = container["oci"],
package = "imageversion",
repotag_file = container["repotag_file"],
visibility = ["//:__subpackages__"],
)
for container in helm_containers()
]
# TODO(malt3): add missing third-party images
# - logstash
# - filebeat
# - konnectivity-agent
# - konnectivity-server
# - node-maintenance-operator
# - gcp-guest-agent