2022-07-07 20:11:50 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
load("//rules_byc:defs.bzl", "container")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "publisher-legacy-errata_lib",
|
|
|
|
srcs = ["main.go"],
|
|
|
|
importpath = "peridot.resf.org/publisher/cmd/publisher-legacy-errata",
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
deps = [
|
2022-10-30 01:59:25 +00:00
|
|
|
"//apollo/db/connector",
|
2022-07-07 20:11:50 +00:00
|
|
|
"//publisher/updateinfo/legacy",
|
|
|
|
"//utils",
|
|
|
|
"//vendor/github.com/sirupsen/logrus",
|
|
|
|
"//vendor/github.com/spf13/cobra",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "publisher-legacy-errata",
|
|
|
|
embed = [":publisher-legacy-errata_lib"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
container(
|
|
|
|
base = "//bases/bazel/go",
|
|
|
|
files = [
|
|
|
|
":publisher-legacy-errata",
|
|
|
|
],
|
|
|
|
image_name = "publisher-legacy-errata-tool",
|
|
|
|
)
|