Skip to content

Commit

Permalink
KF 4325 port rocks into 1.7 (#329)
Browse files Browse the repository at this point in the history
* feat: port kfp rocks to 1.7

Summary of changes:
- Updated metadata.yaml files for all charms to refer to published ROCK images.
- Updated requirements.
- Changed container name to `apiserver` in unit tests, `metadata.yaml`, charm code.
- Added binary packages to charmcraft.yaml. See that file for more details.
- Added binary packages to charms: ui, viz, persistence, profile-controller
  • Loading branch information
i-chvets authored Sep 22, 2023
1 parent d1052de commit 1b1fbaf
Show file tree
Hide file tree
Showing 50 changed files with 952 additions and 923 deletions.
9 changes: 9 additions & 0 deletions charms/kfp-api/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip] # Fixes install of some packages
# add binary packages due to https://github.com/pypa/setuptools_scm/issues/918
charm-binary-python-packages:
- anyio
- attrs
- httpcore
- httpx
- "jsonschema==4.17.3"
- "tenacity==8.2.3"
- "urllib3==2.0.5"
4 changes: 2 additions & 2 deletions charms/kfp-api/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ website: https://charmhub.io/kfp-api
source: https://github.com/canonical/kfp-operators
issues: https://github.com/canonical/kfp-operators/issues
containers:
ml-pipeline-api-server:
apiserver:
resource: oci-image
resources:
oci-image:
type: oci-image
description: Backing OCI image
upstream-source: gcr.io/ml-pipeline/api-server:2.0.0-alpha.7
upstream-source: charmedkubeflow/api-server:2.0.0-alpha.7_20.04_1
requires:
mysql:
interface: mysql
Expand Down
16 changes: 8 additions & 8 deletions charms/kfp-api/requirements-fmt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# pip-compile --resolver=backtracking ./requirements-fmt.in
# pip-compile ./charms/kfp-api/requirements-fmt.in
#
black==23.3.0
# via -r ./requirements-fmt.in
click==8.1.3
black==23.9.1
# via -r ./charms/kfp-api/requirements-fmt.in
click==8.1.7
# via black
isort==5.12.0
# via -r ./requirements-fmt.in
# via -r ./charms/kfp-api/requirements-fmt.in
mypy-extensions==1.0.0
# via black
packaging==23.1
# via black
pathspec==0.11.1
pathspec==0.11.2
# via black
platformdirs==3.7.0
platformdirs==3.10.0
# via black
tomli==2.0.1
# via black
typing-extensions==4.6.3
typing-extensions==4.8.0
# via black
Loading

0 comments on commit 1b1fbaf

Please sign in to comment.