Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI to use k8s 1.22 #88

Merged
merged 4 commits into from
Aug 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,14 @@ jobs:
uses: charmed-kubernetes/actions-operator@main
with:
provider: microk8s
channel: 1.21/stable
channel: 1.22/stable
charmcraft-channel: latest/candidate

# TODO: Remove once the actions-operator does this automatically
- name: Configure kubectl
run: |
sg microk8s -c "microk8s config > ~/.kube/config"

- run: |
sg microk8s -c "tox -e ${{ matrix.charm }}-integration"

Expand All @@ -114,13 +120,12 @@ jobs:
uses: charmed-kubernetes/actions-operator@main
with:
provider: microk8s
channel: 1.21/stable
channel: 1.22/stable
charmcraft-channel: latest/candidate

# Required until https://github.com/charmed-kubernetes/actions-operator/pull/33 is merged
- run: sg microk8s -c "microk8s enable metallb:'10.64.140.43-10.64.140.49,192.168.0.105-192.168.0.111'"


# TODO: Remove once the actions-operator does this automatically
- name: Configure kubectl
run: |
Expand Down
4 changes: 4 additions & 0 deletions charms/kfp-profile-controller/tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,14 @@ async def test_build_and_deploy(ops_test: OpsTest):
# Deploy charms responsible for CRDs creation
await ops_test.model.deploy(
entity_url="kubeflow-profiles",
# TODO: Revert once kubeflow-profiles stable supports k8s 1.22
channel="latest/edge",
trust=True,
)
await ops_test.model.deploy(
entity_url="metacontroller-operator",
# TODO: Revert once metacontroller stable supports k8s 1.22
channel="latest/edge",
trust=True,
)

Expand Down