Skip to content

chore(deps): bump actions/setup-go from 6.5.0 to 7.0.0 #3408

chore(deps): bump actions/setup-go from 6.5.0 to 7.0.0

chore(deps): bump actions/setup-go from 6.5.0 to 7.0.0 #3408

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.25.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@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: ${{ env.GO_VERSION }}
- name: Set up Helm
uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: ${{ env.GOPATH }}/src/github.com/fluid-cloudnative/fluid
- name: Cache Kind and kubectl binaries
uses: actions/cache@v6
with:
path: ${{ env.RUNNER_TOOL_CACHE }}/kind/v0.31.0
key: ${{ runner.os }}-kind-v0.31.0-kubectl-${{ matrix.kubernetes-version }}
- name: Create k8s Kind Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
version: v0.31.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: Free disk space
run: |
echo ">>> System disk usage before cleanup"
df -h
# Remove large pre-installed tools to free disk space
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
docker image prune -a -f
echo ">>> System disk usage after cleanup"
df -h
- 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