load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "pack", srcs = ["pack.go"], importpath = "edge-infra.dev/pkg/f8n/warehouse/lift/cmd/pack", visibility = ["//visibility:public"], deps = [ "//pkg/f8n/warehouse/lift", "//pkg/f8n/warehouse/lift/cmd/internal", "//pkg/f8n/warehouse/lift/pack/types", "//pkg/f8n/warehouse/oci/layout", "//pkg/f8n/warehouse/oci/name", "//pkg/f8n/warehouse/oci/remote", "//pkg/f8n/warehouse/pallet/resolve", "//pkg/lib/cli/rags", "//pkg/lib/cli/sink", "@io_k8s_sigs_kustomize_kyaml//filesys", ], ) go_test( name = "pack_test", srcs = ["pack_test.go"], data = ["//cmd/f8n/warehouse/lift"], embed = [":pack"], deps = [ "//pkg/f8n/warehouse/lift/cmd/internal/lifttest", "//pkg/f8n/warehouse/whtest/registry", "//pkg/k8s/kustomize", "//pkg/lib/build/bazel", "//test/fixtures", "@com_github_google_go_containerregistry//pkg/name", "@com_github_stretchr_testify//assert", "@tools_gotest_v3//icmd", ], )