Skip to content

Commit

Permalink
ci: workaround k3s issue until resolved upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jul 12, 2022
1 parent 535d55c commit 85c548f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,15 @@ jobs:
#
# k3s-version: https://github.com/rancher/k3s/tags
# k3s-channel: https://update.k3s.io/v1-release/channels
#
# NOTE: we workaround a bug for k3s 1.22+ by passing `extra-setup-args: --egress-selector-mode=disabled`
#
include:
- k3s-channel: latest
k3s-extra-setup-args: --egress-selector-mode=disabled
test: install
- k3s-channel: stable
k3s-extra-setup-args: --egress-selector-mode=disabled
test: install
- k3s-channel: v1.21 # also test prePuller.hook
test: install
Expand Down Expand Up @@ -161,6 +166,7 @@ jobs:
# https://jupyterhub.github.io/helm-chart/info.json
#
- k3s-channel: v1.23
k3s-extra-setup-args: --egress-selector-mode=disabled
test: upgrade
upgrade-from: stable
upgrade-from-extra-args: >-
Expand All @@ -174,6 +180,7 @@ jobs:
--set singleuser.storage.type=dynamic
create-k8s-test-resources: true
- k3s-channel: v1.23
k3s-extra-setup-args: --egress-selector-mode=disabled
test: upgrade
upgrade-from: dev
upgrade-from-extra-args: >-
Expand All @@ -184,6 +191,7 @@ jobs:
--set hub.db.type=sqlite-pvc
--set singleuser.storage.type=dynamic
- k3s-channel: v1.24
k3s-extra-setup-args: --egress-selector-mode=disabled
test: upgrade
# We're testing hub.db.upgrade with PostgreSQL so this version must be old
# enough to require a DB upgrade
Expand Down Expand Up @@ -229,6 +237,7 @@ jobs:
metrics-enabled: false
traefik-enabled: false
docker-enabled: true
extra-setup-args: "${{ matrix.k3s-extra-setup-args }}"

- uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 85c548f

Please sign in to comment.