mongo/buildscripts/timeouts/BUILD.bazel
Sean Lyons b270115356 SERVER-126501: Add bazel targets for buildscripts tests (#53703)
GitOrigin-RevId: eeec1eaf457d23e5fd9e67dd10c171f65df0899b
2026-05-15 17:04:02 +00:00

40 lines
922 B
Python

load("@poetry//:dependencies.bzl", "dependency")
load("@rules_python//python:defs.bzl", "py_library")
py_library(
name = "timeout",
srcs = ["timeout.py"],
visibility = ["//visibility:public"],
deps = [
dependency(
"shrub-py",
group = "testing",
),
dependency(
"structlog",
group = "evergreen",
),
],
)
py_library(
name = "timeout_service",
srcs = ["timeout_service.py"],
visibility = ["//visibility:public"],
deps = [
"timeout",
"//buildscripts/resmoke_proxy",
dependency(
"inject",
group = "evergreen",
),
],
)
# TODO(SERVER-105817): The following library is autogenerated, please split these out into individual python targets
py_library(
name = "all_python_files",
srcs = glob(["*.py"]),
visibility = ["//visibility:public"],
)