blob: 17750ae0915dd2760afdb50306f2b6ed79283f94 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "server",
srcs = ["server.go"],
importpath = "go.skia.org/infra/sk8s/go/bot_config/server",
visibility = ["//visibility:public"],
deps = [
"//go/httputils",
"//go/metrics2",
"//go/sklog",
"//sk8s/go/bot_config/machine",
"@com_github_gorilla_mux//:mux",
],
)
go_test(
name = "server_test",
srcs = ["server_test.go"],
embed = [":server"],
deps = [
"//go/testutils/unittest",
"//machine/go/machine",
"//sk8s/go/bot_config/machine",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)