mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-05 12:51:03 -05:00
42 lines
1.1 KiB
Python
42 lines
1.1 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/cli/internal/helm/imageversion",
|
||
|
visibility = ["//cli:__subpackages__"],
|
||
|
deps = ["//internal/containerimage"],
|
||
|
)
|
||
|
|
||
|
[
|
||
|
oci_go_source(
|
||
|
name = container["name"],
|
||
|
identifier = container["identifier"],
|
||
|
image_name = container["image_name"],
|
||
|
oci = container["oci"],
|
||
|
package = "imageversion",
|
||
|
prefix = container["prefix"],
|
||
|
registry = container["registry"],
|
||
|
tag_file = container["tag_file"],
|
||
|
visibility = ["//cli:__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
|