...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "middlechild",
5 srcs = [
6 "logs.go",
7 "middlechild.go",
8 ],
9 importpath = "edge-infra.dev/pkg/f8n/devinfra/middlechild",
10 visibility = ["//visibility:public"],
11 deps = [
12 "//pkg/f8n/devinfra/gcp/job/storage",
13 "//pkg/f8n/devinfra/job",
14 "//pkg/f8n/devinfra/testinfra/model",
15 "//pkg/f8n/devinfra/testinfra/sql",
16 "//pkg/lib/fog",
17 "//pkg/lib/runtime/manager",
18 "//pkg/lib/runtime/subscriber",
19 "@com_github_gin_gonic_gin//:gin",
20 "@com_github_go_logr_logr//:logr",
21 "@com_github_joshdk_go_junit//:go-junit",
22 "@com_github_shopify_go_storage//:go-storage",
23 "@com_google_cloud_go_pubsub//:pubsub",
24 ],
25)
26
27go_test(
28 name = "middlechild_test",
29 srcs = [
30 "logs_test.go",
31 "middlechild_test.go",
32 ],
33 data = glob(["testdata/**"]),
34 embed = [":middlechild"],
35 deps = [
36 "//pkg/f8n/devinfra/testinfra/model",
37 "@com_github_google_uuid//:uuid",
38 "@com_github_shopify_go_storage//:go-storage",
39 "@tools_gotest_v3//assert",
40 ],
41)
View as plain text