hyperboria/nexus/pipe/BUILD.bazel
the-superpirate dd23846059 - [nexus] Refactoring
- [nexus] Switch bot
  - [bot] Added extra receivers functionality

GitOrigin-RevId: 68fc32d3e79ff411758f54f435fe8680fc42dead
2022-03-28 17:42:18 +03:00

37 lines
884 B
Python

load("@io_bazel_rules_docker//python3:image.bzl", "py3_image")
load("@pip_modules//:requirements.bzl", "requirement")
alias(
name = "binary",
actual = ":image.binary",
)
py3_image(
name = "image",
srcs = glob(["**/*.py"]),
base = "//images/production:base-python-image",
data = [
"configs/base.yaml",
"configs/logging.yaml",
],
main = "main.py",
srcs_version = "PY3ONLY",
visibility = ["//visibility:public"],
deps = [
requirement("aiokafka"),
requirement("orjson"),
requirement("pypika"),
requirement("aiocrossref"),
requirement("aiokit"),
"//library/aiopostgres",
"//library/configurator",
"//library/logging",
"//nexus/actions",
"//nexus/models/proto:proto_py",
"//summa:aiosumma",
requirement("izihawa_utils"),
],
)