load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "middlechild", srcs = [ "logs.go", "middlechild.go", ], importpath = "edge-infra.dev/pkg/f8n/devinfra/middlechild", visibility = ["//visibility:public"], deps = [ "//pkg/f8n/devinfra/gcp/job/storage", "//pkg/f8n/devinfra/job", "//pkg/f8n/devinfra/testinfra/model", "//pkg/f8n/devinfra/testinfra/sql", "//pkg/lib/fog", "//pkg/lib/runtime/manager", "//pkg/lib/runtime/subscriber", "@com_github_gin_gonic_gin//:gin", "@com_github_go_logr_logr//:logr", "@com_github_joshdk_go_junit//:go-junit", "@com_github_shopify_go_storage//:go-storage", "@com_google_cloud_go_pubsub//:pubsub", ], ) go_test( name = "middlechild_test", srcs = [ "logs_test.go", "middlechild_test.go", ], data = glob(["testdata/**"]), embed = [":middlechild"], deps = [ "//pkg/f8n/devinfra/testinfra/model", "@com_github_google_uuid//:uuid", "@com_github_shopify_go_storage//:go-storage", "@tools_gotest_v3//assert", ], )