...

Text file src/edge-infra.dev/pkg/f8n/warehouse/promote/BUILD.bazel

Documentation: edge-infra.dev/pkg/f8n/warehouse/promote

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "promote",
     5    srcs = [
     6        "config.go",
     7        "message.go",
     8        "promote.go",
     9        "repository.go",
    10    ],
    11    importpath = "edge-infra.dev/pkg/f8n/warehouse/promote",
    12    visibility = ["//visibility:public"],
    13    deps = [
    14        "//pkg/edge/api/types",
    15        "//pkg/f8n/warehouse/oci/remote",
    16        "//pkg/f8n/warehouse/packagelock",
    17        "//pkg/lib/gcp/pubsub",
    18        "@com_github_go_logr_logr//:logr",
    19        "@com_github_google_go_containerregistry//pkg/name",
    20        "@com_github_peterbourgon_ff_v3//:ff",
    21    ],
    22)
    23
    24go_test(
    25    name = "promote_test",
    26    srcs = ["config_test.go"],
    27    data = glob(["testdata/**"]),
    28    embed = [":promote"],
    29    deps = ["@com_github_stretchr_testify//assert"],
    30)

View as plain text