Skip to content

Commit

Permalink
Fix comments, add commonality between rocks in this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ca-scribner committed Feb 16, 2024
1 parent fc2f494 commit 1b8a96d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pmmlserver/dummy_pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ authors = ["none"]
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
kserve = { path = "../python/kserve", develop = false }
pmmlserver = { path = "../python/pmmlserver", develop = false }
sklearnserver = { path = "../python/sklearnserver", develop = false }

3 changes: 2 additions & 1 deletion pmmlserver/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Based on https://github.com/kserve/kserve/blob/release-0.11/python/paddle.Dockerfile
# Based on https://github.com/kserve/kserve/blob/release-0.11/python/pmml.Dockerfile
name: pmmlserver
summary: Pmml server for Kserve deployments
description: "Kserve Pmml server"
Expand Down 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 pmmlserver/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 1b8a96d

Please sign in to comment.