Skip to content

Commit

Permalink
setup k3s
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Aller <[email protected]>
  • Loading branch information
zachaller committed Jul 19, 2024
1 parent 7e93afd commit 4b113bb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
branches: [ main ]
jobs:
ci:
strategy:
fail-fast: false
matrix:
kubernetes-minor-version:
- 1.28
- 1.29
name: E2E Tests
runs-on: ubuntu-latest
timeout-minutes: 10
Expand All @@ -17,6 +23,15 @@ jobs:
# see https://github.com/actions/setup-go?tab=readme-ov-file#caching-dependency-files-and-build-outputs
cache-dependency-path: |
go.sum
- name: Setup k3s
env:
INSTALL_K3S_CHANNEL: v${{ matrix.kubernetes-minor-version }}
run: |
curl -sfL https://get.k3s.io | sh -
sudo mkdir ~/.kube
sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
sudo chmod 755 ~/.kube/config
kubectl version
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
- name: Get dependencies
Expand Down

0 comments on commit 4b113bb

Please sign in to comment.