blob: 80e8039744be166ad9e03fb05d1dbd29f94b1359 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "status",
srcs = [
"cache.go",
"status.go",
],
importpath = "go.skia.org/infra/autoroll/go/status",
visibility = ["//visibility:public"],
deps = [
"//autoroll/go/revision",
"//go/autoroll",
"//go/ds",
"//go/sklog",
"//go/util",
"@com_google_cloud_go_datastore//:datastore",
],
)
go_test(
name = "status_test",
srcs = ["status_test.go"],
embed = [":status"],
deps = [
"//autoroll/go/modes",
"//autoroll/go/revision",
"//autoroll/go/strategy",
"//go/autoroll",
"//go/deepequal/assertdeep",
"//go/ds",
"//go/ds/testutil",
"//go/testutils/unittest",
"@com_github_stretchr_testify//require",
],
)