Skip to content

Extend CacheRuntime phase 2.5: transform Cache Runtime Spec into pods spec #3028

Extend CacheRuntime phase 2.5: transform Cache Runtime Spec into pods spec

Extend CacheRuntime phase 2.5: transform Cache Runtime Spec into pods spec #3028

Workflow file for this run

name: E2E Functionality Check
on:
pull_request:
branches: [ master, release-* ]
paths-ignore:
- 'docs/**'
- 'addons/**'
- 'sdk/**'
- 'static/**'
# Declare default permissions as read only.
permissions:
contents: read
actions: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
GO_VERSION: 1.24.12
jobs:
kind-e2e-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
kubernetes-version: ["v1.33.2", "v1.30.13", "v1.28.15", "v1.24.17", "v1.22.17"]
env:
GOPATH: ${{ github.workspace }}
GO111MODULE: auto
KIND_CLUSTER: fluid-cluster
defaults:
run:
working-directory: ${{ env.GOPATH }}/src/github.com/fluid-cloudnative/fluid
steps:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ env.GO_VERSION }}
- name: Set up Helm
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: ${{ env.GOPATH }}/src/github.com/fluid-cloudnative/fluid
- name: Create k8s Kind Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
version: v0.29.0 # default version in v1.12.0 is v0.24.0, bump to v0.29.0 to solve https://github.com/kubernetes-sigs/kind/issues/3853
node_image: kindest/node:${{ matrix.kubernetes-version }}
cluster_name: ${{ env.KIND_CLUSTER }}
kubectl_version: ${{ matrix.kubernetes-version }}
- name: Build fluid docker images
env:
IMG_REPO: fluidcloudnative
run: |
echo ">>> System disk usage before build fluid images"
df -h
./.github/scripts/build-all-images.sh
- name: Deploy fluid to Kind cluster
run: |
./.github/scripts/deploy-fluid-to-kind.sh
- name: Fluid basic e2e tests
timeout-minutes: 30
run: |
./.github/scripts/gha-e2e.sh
- name: Dump environment
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: gha-e2e-logs-${{ github.job }}-${{ matrix.kubernetes-version }}
path: "src/github.com/fluid-cloudnative/fluid/e2e-tmp/testcase-*.tgz"
retention-days: 14