diff --git a/.github/kind.yaml b/.github/kind.yaml new file mode 100644 index 00000000..859b697b --- /dev/null +++ b/.github/kind.yaml @@ -0,0 +1,8 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +kubeadmConfigPatches: + - | + kind: ClusterConfiguration + etcd: + local: + dataDir: /tmp/etcd # /tmp is mapped to tmpfs in kind's nodes diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index a31ef33a..73dcf091 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -14,14 +14,14 @@ jobs: matrix: kubernetesVersion: [v1.28, v1.27, v1.26, v1.25] include: - - kubernetesVersion: v1.28 - kindImage: kindest/node:v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31 - - kubernetesVersion: v1.27 - kindImage: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 - - kubernetesVersion: v1.26 - kindImage: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb - - kubernetesVersion: v1.25 - kindImage: kindest/node:v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8 + - kubernetesVersion: v1.28 + kindImage: kindest/node:v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31 + - kubernetesVersion: v1.27 + kindImage: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 + - kubernetesVersion: v1.26 + kindImage: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb + - kubernetesVersion: v1.25 + kindImage: kindest/node:v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8 steps: - name: Install prerequisites run: | @@ -40,6 +40,7 @@ jobs: with: node_image: ${{ matrix.kindImage }} cluster_name: cluster + config: .github/kind.yaml - name: Generate images and push to the cluster run: | @@ -79,7 +80,7 @@ jobs: VERSION: ${{ github.sha }} arm_e2e_tests: - runs-on: http-add-on-e2e + runs-on: ARM64 needs: arm_image_generation name: Execute e2e test on ARM64 ${{ matrix.kubernetesVersion }} env: @@ -89,14 +90,14 @@ jobs: matrix: kubernetesVersion: [v1.28, v1.27, v1.26, v1.25] include: - - kubernetesVersion: v1.28 - kindImage: kindest/node:v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31 - - kubernetesVersion: v1.27 - kindImage: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 - - kubernetesVersion: v1.26 - kindImage: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb - - kubernetesVersion: v1.25 - kindImage: kindest/node:v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8 + - kubernetesVersion: v1.28 + kindImage: kindest/node:v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31 + - kubernetesVersion: v1.27 + kindImage: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 + - kubernetesVersion: v1.26 + kindImage: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb + - kubernetesVersion: v1.25 + kindImage: kindest/node:v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8 steps: - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 @@ -112,6 +113,7 @@ jobs: with: node_image: ${{ matrix.kindImage }} cluster_name: ${{ runner.name }} + config: .github/kind.yaml - name: Push images to the cluster run: |