hyperboria/nexus/ingest/BUILD.bazel

36 lines
891 B
Python
Raw Normal View History

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",
"//nexus/cognitron/configs:scimag.yaml",
"//nexus/cognitron/configs:scitech.yaml",
],
main = "main.py",
srcs_version = "PY3ONLY",
visibility = ["//visibility:public"],
deps = [
requirement("aiokafka"),
requirement("aiosumma"),
requirement("aiocrossref"),
requirement("aiokit"),
requirement("aiolibgen"),
"//library/aiopostgres",
requirement("izihawa_configurator"),
"//library/jobber",
"//nexus/actions",
],
)