load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "promote", srcs = [ "config.go", "message.go", "promote.go", "repository.go", ], importpath = "edge-infra.dev/pkg/f8n/warehouse/promote", visibility = ["//visibility:public"], deps = [ "//pkg/edge/api/types", "//pkg/f8n/warehouse/oci/remote", "//pkg/f8n/warehouse/packagelock", "//pkg/lib/gcp/pubsub", "@com_github_go_logr_logr//:logr", "@com_github_google_go_containerregistry//pkg/name", "@com_github_peterbourgon_ff_v3//:ff", ], ) go_test( name = "promote_test", srcs = ["config_test.go"], data = glob(["testdata/**"]), embed = [":promote"], deps = ["@com_github_stretchr_testify//assert"], )