blob: 828d23c1e267725256d15c09361c7aa3c075cb18 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "buildbucket_cis",
srcs = ["buildbucket_cis.go"],
importpath = "go.skia.org/infra/golden/go/continuous_integration/buildbucket_cis",
visibility = ["//visibility:public"],
deps = [
"//go/buildbucket",
"//go/skerr",
"//golden/go/continuous_integration",
"@com_github_golang_protobuf//ptypes",
"@org_chromium_go_luci//buildbucket/proto",
"@org_golang_x_time//rate",
],
)
go_test(
name = "buildbucket_cis_test",
srcs = ["buildbucket_cis_test.go"],
embed = [":buildbucket_cis"],
deps = [
"//go/buildbucket/mocks",
"//go/testutils",
"//golden/go/continuous_integration",
"@com_github_golang_protobuf//ptypes",
"@com_github_golang_protobuf//ptypes/timestamp",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
"@org_chromium_go_luci//buildbucket/proto",
],
)