...

Text file src/edge-infra.dev/cmd/edge/sequel/BUILD.bazel

Documentation: edge-infra.dev/cmd/edge/sequel

     1load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2load("//hack/build/rules/container:index.bzl", "container_push", "go_oci_image")
     3
     4go_binary(
     5    name = "sequel",
     6    embed = [":sequel_lib"],
     7    visibility = ["//visibility:public"],
     8)
     9
    10go_library(
    11    name = "sequel_lib",
    12    srcs = ["main.go"],
    13    importpath = "edge-infra.dev/cmd/edge/sequel",
    14    visibility = ["//visibility:private"],
    15    deps = [
    16        "//pkg/edge/controllers/sequel",
    17        "@com_github_joho_godotenv//:godotenv",
    18    ],
    19)
    20
    21go_oci_image(
    22    name = "sequel_container",
    23    embed = [":sequel_lib"],
    24    tags = ["manual"],
    25)
    26
    27container_push(
    28    name = "container_push",
    29    image = ":sequel_container",
    30    image_name = "sequel",
    31    repository_file = "//hack/build/rules/container:workloads-repo",
    32)

View as plain text