Skip to content

Commit

Permalink
Merge pull request #13365 from ycliuhw/pin-kubeflow-test
Browse files Browse the repository at this point in the history
Pin kubeflow test to a fixed sha;
  • Loading branch information
wallyworld committed Sep 30, 2021
2 parents 4069249 + 1ffb948 commit 0fde7c0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/microk8s-tests.yml
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
microk8s: [latest/stable]
microk8s: [1.21/stable]

steps:
- name: Set up Go 1.14 for building juju
Expand Down Expand Up @@ -83,13 +83,17 @@ jobs:
set -eux
git clone https://github.com/juju-solutions/bundle-kubeflow.git
cd bundle-kubeflow
# TODO: pin to this sha for now, update if we want to test newer Kubeflow.
git reset --hard a96fa2d
git clone git://git.launchpad.net/canonical-osm
cp -r canonical-osm/charms/interfaces/juju-relation-mysql mysql
sudo pip3 install -r requirements.txt -r test-requirements.txt
sudo pip3 install tox
python3 ./scripts/cli.py microk8s setup --test-mode --config caas-image-repo=$DOCKER_USERNAME --services ''
KUBEFLOW_AUTH_PASSWORD=foobar python3 ./scripts/cli.py --debug deploy-to uk8s --cloud microk8s --bundle edge --channel stable
KUBEFLOW_AUTH_PASSWORD=foobar python3 ./scripts/cli.py --debug deploy-to uk8s --cloud microk8s --build --bundle edge
microk8s kubectl get pods -l 'juju-operator' -A -o custom-columns='Name:metadata.name,Image:spec.containers[0].image'
EOF
Expand Down

0 comments on commit 0fde7c0

Please sign in to comment.