Skip to content

Commit 6c97d90

Browse files
Use non-strict microk8s on IS-hosted runners
1 parent e940b6e commit 6c97d90

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

spread.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,11 @@ backends:
102102
# (These packages are being built when installing poetry or integration test Python
103103
# dependencies)
104104
CONCIERGE_EXTRA_DEBS: pipx,pkg-config,rustup
105-
# s390x only available on edge
106-
CONCIERGE_MICROK8S_CHANNEL: 1.32-strict/edge
105+
# s390x only available on edge risk of microk8s snap
106+
# IS-hosted GitHub runners do not work with the strictly confined microk8s snap:
107+
# https://github.com/canonical/microk8s/issues/5082
108+
# https://chat.canonical.com/canonical/pl/i6yydsx5ifrepp56khq5fq5dke
109+
CONCIERGE_MICROK8S_CHANNEL: latest/edge
107110
variants:
108111
- -juju29
109112

@@ -130,7 +133,7 @@ prepare: |
130133
# Running on IS-hosted runner; configure microk8s to use Docker Hub mirror
131134
# Run before concierge prepare because of https://github.com/canonical/concierge/issues/75
132135
133-
snap install microk8s --channel "$CONCIERGE_MICROK8S_CHANNEL"
136+
snap install microk8s --channel "$CONCIERGE_MICROK8S_CHANNEL" --classic
134137
135138
# Wait for microk8s to populate iptables
136139
# https://chat.canonical.com/canonical/pl/jo5cg6wqjjrudqd5ybj6hhttee

0 commit comments

Comments
 (0)