Skip to content

Commit

Permalink
fix import paths for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleChimera committed Mar 28, 2024
1 parent 53dc0bb commit df0e1c4
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions release-controller/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ deps = [
requirement("pydiscourse"),
requirement("pydantic-yaml"),
requirement("ic-py"),
"//pylib",
]

env = {
Expand All @@ -26,33 +25,24 @@ env = {

py_binary(
name = "reconciler",
srcs = ["reconciler.py"],
env = env,
deps = deps + [
":release-controller-lib",
],
)

py_library(
name = "release-controller-lib",
srcs = glob(
["*.py"],
exclude = [
"test_*.py",
"reconciler.py",
"pytest.py",
],
),
env = env,
deps = deps,
)

py_test(
name = "pytest",
srcs = ["pytest.py"],
data = glob(["test_*.py"]),
data = glob(["*.py"]),
env = env,
deps = deps + [
":release-controller-lib",
":release-controller",
],
)

Expand Down

0 comments on commit df0e1c4

Please sign in to comment.