Skip to content

Commit

Permalink
Increase commonality between rocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ca-scribner committed Feb 16, 2024
1 parent ad75268 commit 81f01d6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions sklearnserver/dummy_pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ authors = ["none"]
python = ">=3.8,<3.12"
kserve = { path = "../python/kserve", develop = false }
sklearnserver = { path = "../python/sklearnserver", develop = false }

1 change: 1 addition & 0 deletions sklearnserver/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ parts:
source-tag: v0.11.0
override-build: |
cp -fr third_party/* ${CRAFT_PART_INSTALL}/third_party
13 changes: 13 additions & 0 deletions sklearnserver/tests/test_rock.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,16 @@ def test_rock(rock_test_env):
],
check=True,
)
subprocess.run(
[
"docker",
"run",
"--entrypoint",
"/bin/bash",
LOCAL_ROCK_IMAGE,
"-c",
"ls -la /third_party",
],
check=True,
)

0 comments on commit 81f01d6

Please sign in to comment.