blob: 52f8259ef8fd5c11f4db7a8a0bd09424f2c25d80 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "roller",
srcs = [
"autoroller.go",
"reviewers.go",
],
importpath = "go.skia.org/infra/autoroll/go/roller",
visibility = ["//visibility:public"],
deps = [
"//autoroll/go/codereview",
"//autoroll/go/commit_msg",
"//autoroll/go/config",
"//autoroll/go/config_vars",
"//autoroll/go/manual",
"//autoroll/go/modes",
"//autoroll/go/notifier",
"//autoroll/go/recent_rolls",
"//autoroll/go/repo_manager",
"//autoroll/go/revision",
"//autoroll/go/state_machine",
"//autoroll/go/status",
"//autoroll/go/strategy",
"//autoroll/go/time_window",
"//autoroll/go/unthrottle",
"//email/go/emailclient",
"//go/autoroll",
"//go/chatbot",
"//go/chrome_branch",
"//go/cleanup",
"//go/comment",
"//go/gcs",
"//go/gerrit",
"//go/github",
"//go/human",
"//go/metrics2",
"//go/notifier",
"//go/rotations",
"//go/skerr",
"//go/sklog",
"//go/util",
"@com_github_go_chi_chi_v5//:chi",
],
)
go_test(
name = "roller_test",
srcs = [
"autoroller_test.go",
"reviewers_test.go",
],
embed = [":roller"],
deps = [
"//autoroll/go/revision",
"//go/metrics2/testutils",
"//go/mockhttpclient",
"@com_github_stretchr_testify//require",
],
)