update k8s versions for testing and remove cache deletion
Signed-off-by: James Strong <james.strong@chainguard.dev>
This commit is contained in:
parent
ad628b8a2f
commit
f6585a4801
1 changed files with 7 additions and 21 deletions
28
.github/workflows/ci.yaml
vendored
28
.github/workflows/ci.yaml
vendored
|
@ -193,7 +193,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: docker.tar.gz
|
name: docker.tar.gz
|
||||||
path: docker.tar.gz
|
path: docker.tar.gz
|
||||||
|
retention-days: 5
|
||||||
helm:
|
helm:
|
||||||
name: Helm chart
|
name: Helm chart
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -205,7 +205,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
k8s: [v1.24.7, v1.25.3, v1.26.0]
|
k8s: [v1.24.12, v1.25.8, v1.26.3]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -255,11 +255,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
kind create cluster --image=kindest/node:${{ matrix.k8s }}
|
kind create cluster --image=kindest/node:${{ matrix.k8s }}
|
||||||
|
|
||||||
- uses: geekyeggo/delete-artifact@54ab544f12cdb7b71613a16a2b5a37a9ade990af # v2.0.0
|
|
||||||
with:
|
|
||||||
name: docker.tar.gz
|
|
||||||
failOnError: false
|
|
||||||
|
|
||||||
- name: Load images from cache
|
- name: Load images from cache
|
||||||
run: |
|
run: |
|
||||||
echo "loading docker images..."
|
echo "loading docker images..."
|
||||||
|
@ -285,7 +280,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
k8s: [v1.24.7, v1.25.3, v1.26.0]
|
k8s: [v1.24.12, v1.25.8, v1.26.3]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -301,11 +296,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
kind create cluster --image=kindest/node:${{ matrix.k8s }} --config test/e2e/kind.yaml
|
kind create cluster --image=kindest/node:${{ matrix.k8s }} --config test/e2e/kind.yaml
|
||||||
|
|
||||||
- uses: geekyeggo/delete-artifact@54ab544f12cdb7b71613a16a2b5a37a9ade990af # v2.0.0
|
|
||||||
with:
|
|
||||||
name: docker.tar.gz
|
|
||||||
failOnError: false
|
|
||||||
|
|
||||||
- name: Load images from cache
|
- name: Load images from cache
|
||||||
run: |
|
run: |
|
||||||
echo "loading docker images..."
|
echo "loading docker images..."
|
||||||
|
@ -327,6 +317,7 @@ jobs:
|
||||||
name: e2e-test-reports-${{ matrix.k8s }}
|
name: e2e-test-reports-${{ matrix.k8s }}
|
||||||
path: 'test/junitreports/report*.xml'
|
path: 'test/junitreports/report*.xml'
|
||||||
|
|
||||||
|
|
||||||
kubernetes-chroot:
|
kubernetes-chroot:
|
||||||
name: Kubernetes chroot
|
name: Kubernetes chroot
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -338,7 +329,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
k8s: [v1.24.7, v1.25.3, v1.26.0]
|
k8s: [v1.24.12, v1.25.8, v1.26.3]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -355,11 +346,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
kind create cluster --image=kindest/node:${{ matrix.k8s }} --config test/e2e/kind.yaml
|
kind create cluster --image=kindest/node:${{ matrix.k8s }} --config test/e2e/kind.yaml
|
||||||
|
|
||||||
- uses: geekyeggo/delete-artifact@54ab544f12cdb7b71613a16a2b5a37a9ade990af # v2.0.0
|
|
||||||
with:
|
|
||||||
name: docker.tar.gz
|
|
||||||
failOnError: false
|
|
||||||
|
|
||||||
- name: Load images from cache
|
- name: Load images from cache
|
||||||
run: |
|
run: |
|
||||||
echo "loading docker images..."
|
echo "loading docker images..."
|
||||||
|
@ -375,7 +361,7 @@ jobs:
|
||||||
kind get kubeconfig > $HOME/.kube/kind-config-kind
|
kind get kubeconfig > $HOME/.kube/kind-config-kind
|
||||||
make kind-e2e-test
|
make kind-e2e-test
|
||||||
|
|
||||||
- name: Uplaod e2e junit-reports
|
- name: Upload e2e junit-reports
|
||||||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
|
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
|
||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
with:
|
with:
|
||||||
|
@ -461,7 +447,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
k8s: [v1.24.7, v1.25.3, v1.26.0]
|
k8s: [v1.24.12, v1.25.8, v1.26.3]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
Loading…
Reference in a new issue