Skip to content

Commit

Permalink
Merge branch 'main' into KF-5539-pin-integration-tests-deps-in-main
Browse files Browse the repository at this point in the history
  • Loading branch information
DnPlas authored Apr 25, 2024
2 parents 36fb66d + 6f73604 commit 5c96961
Show file tree
Hide file tree
Showing 19 changed files with 652 additions and 100 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,7 @@ jobs:
run: |
# Requires the model to be called kubeflow due to kfp-viewer
juju add-model kubeflow
# Run integration tests against the 1.7 generic install bundle definition
# Using destructive mode because of https://github.com/canonical/charmcraft/issues/1132
# and https://github.com/canonical/charmcraft/issues/1138
sg snap_microk8s -c "tox -e bundle-integration-${{ matrix.sdk }} -- --model kubeflow --bundle=./tests/integration/bundles/kfp_latest_edge.yaml.j2 --destructive-mode"
sg snap_microk8s -c "tox -e bundle-integration-${{ matrix.sdk }} -- --model kubeflow --bundle=./tests/integration/bundles/kfp_latest_edge.yaml.j2"
- name: Get all
run: kubectl get all -A
Expand Down
4 changes: 4 additions & 0 deletions charms/kfp-api/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip] # Fixes install of some packages
# Install jinja2 (a dependency of charmed-kubeflow-chisme) from binary to avoid build-time issues
# See https://github.com/canonical/bundle-kubeflow/issues/883
# Remove when https://github.com/canonical/charmcraft/issues/1664 is fixed
charm-binary-python-packages: [jinja2]
15 changes: 12 additions & 3 deletions charms/kfp-metadata-writer/charmcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Learn more about charmcraft.yaml configuration at:
# https://juju.is/docs/sdk/charmcraft-config
type: "charm"
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.

type: charm
bases:
- build-on:
- name: "ubuntu"
Expand All @@ -10,4 +11,12 @@ bases:
channel: "20.04"
parts:
charm:
# These build-packages are defined here because pydantic needs them
# at build time. As long as pydantic is listed in requirements.in, this
# list cannot be removed/changed.
build-packages: [cargo, rustc, pkg-config, libffi-dev, libssl-dev]
charm-python-packages: [setuptools, pip] # Fixes install of some packages
# Install jinja2 (a dependency of charmed-kubeflow-chisme) from binary to avoid build-time issues
# See https://github.com/canonical/bundle-kubeflow/issues/883
# Remove when https://github.com/canonical/charmcraft/issues/1664 is fixed
charm-binary-python-packages: [jinja2]
Loading

0 comments on commit 5c96961

Please sign in to comment.