...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "render",
5 srcs = [
6 "render.go",
7 "shipment.go",
8 ],
9 importpath = "edge-infra.dev/pkg/f8n/warehouse/lift/cmd/render",
10 visibility = ["//visibility:public"],
11 deps = [
12 "//pkg/f8n/warehouse/cluster",
13 "//pkg/f8n/warehouse/k8s/apis/v1alpha2",
14 "//pkg/f8n/warehouse/lift",
15 "//pkg/f8n/warehouse/lift/cmd/internal",
16 "//pkg/f8n/warehouse/lift/unpack",
17 "//pkg/f8n/warehouse/oci/layer",
18 "//pkg/f8n/warehouse/oci/remote",
19 "//pkg/f8n/warehouse/pallet",
20 "//pkg/lib/cli/sink",
21 "@com_github_google_go_containerregistry//pkg/name",
22 "@io_k8s_sigs_controller_runtime//pkg/client",
23 ],
24)
25
26go_test(
27 name = "render_test",
28 srcs = ["render_test.go"],
29 data = ["//cmd/f8n/warehouse/lift"],
30 embed = [":render"],
31 deps = [
32 "//pkg/f8n/warehouse/lift/cmd/internal/lifttest",
33 "//pkg/lib/build/bazel",
34 "@tools_gotest_v3//icmd",
35 ],
36)
View as plain text