Skip to content

Commit

Permalink
hardcode k3s versions
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lamarre <[email protected]>
  • Loading branch information
alexandreLamarre committed Dec 13, 2024
1 parent 30703cf commit 615ce2e
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
arch:
- x64
- arm64
name : CI
name : build
runs-on : runs-on,image=ubuntu22-full-${{ matrix.arch }},runner=4cpu-linux-${{ matrix.arch }},run-id=${{ github.run_id }}
outputs:
k3sversions: ${{ steps.support.outputs.k3sversions }}
Expand All @@ -59,9 +59,6 @@ jobs:
uses: docker/setup-buildx-action@v3
- name : Install helm
run : ./.github/workflows/scripts/install-helm.sh
- name: Set K3s support output
id : support
run: ./.github/workflows/scripts/supported-versions.sh | awk '{print "k3sversions="$0}' >> $GITHUB_OUTPUT
- name : CI
run : make ci
test:
Expand All @@ -72,24 +69,23 @@ jobs:
arch:
- x64
- arm64
K3S_VERSION : ${{ fromJSON(needs.build.outputs.k3sversions) }}
#FIXME: temporarily hardcoded
K3S_VERSION :
- v1.28.1-k3s1
- v1.31.0-k3s1
steps:
- name : Checkout repository
uses : actions/checkout@v4
- name: Install go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name : Install helm
run : ./.github/workflows/scripts/install-helm.sh
- name : Setup helm charts
run : ./scripts/package-helm
- name : Debug
run : ls -R ./dist/artifacts
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name : Load backup-restore-operator image
run : docker image load -i ./dist/artifacts/backup-restore-operator.img
- name: Install go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name : Install k3d
run : ./.github/workflows/scripts/install-k3d.sh
- name : Setup test environment
Expand Down

0 comments on commit 615ce2e

Please sign in to comment.