Skip to content

chore(deps): bump azure/setup-helm from 4.3.0 to 5.0.1 #1600

chore(deps): bump azure/setup-helm from 4.3.0 to 5.0.1

chore(deps): bump azure/setup-helm from 4.3.0 to 5.0.1 #1600

Workflow file for this run

name: CI
# This workflow is triggered on any golang code, makefile, workflow changes to repository.
on:
push:
paths-ignore:
- 'docs/**'
- 'README.md'
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
jobs:
code-check:
name: Code Check
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: true
matrix:
os: [ubuntu24.04]
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: 1.26.7
cache: false
- name: Cache Go Mod Pkg
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Code Check
run: |
make code-check
- name: Lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
args: --verbose
version: v2.10.0
unit-test:
name: Unit Test
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
os: [ubuntu24.04]
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: 1.26.7
cache: false
- name: Cache Go Mod Pkg
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Cache TestBin
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: testbin
key: ubuntu${{ matrix.ubuntu }}-testbin
restore-keys: ubuntu${{ matrix.ubuntu }}-testbin
- name: Kubernetes KinD Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
cluster_name: kind
- name: Unit Test
run: |
make go-generate
make test-only
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./cover.out
name: ubuntu-${{ matrix.ubuntu }}-unittests
fail_ci_if_error: true
sit:
name: System Integration Test
runs-on: ubuntu-latest
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
os: [ubuntu24.04]
steps:
- name: Free Up Disk Space
run:
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /usr/local/share/boost /opt/ghc
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Prepare Docker Images
run: |
make sit-prepare-images
- name: Setup KinD Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
cluster_name: kind
- name: Deploy to KinD
run: |
make sit-deploy
- name: Integration Test
run: |
make sit-test
sit-mixture:
name: System Integration Test for Mixture
runs-on: ubuntu-latest
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
os: [ubuntu24.04]
steps:
- name: Free Up Disk Space
run:
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /usr/local/share/boost /opt/ghc
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Prepare Docker Images
run: |
make sit-prepare-images
- name: Setup KinD Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
cluster_name: kind
- name: Deploy to KinD
run: |
make sit-deploy
- name: Integration Test
run: |
make sit-test test_mode=mixture
sit-new-feature:
name: System Integration Test for New Feature
runs-on: ubuntu-latest
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
os: [ubuntu24.04]
steps:
- name: Free Up Disk Space
run:
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /usr/local/share/boost /opt/ghc
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Prepare Docker Images
run: |
make sit-prepare-images
- name: Setup KinD Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
cluster_name: kind
- name: Deploy to KinD
run: |
make sit-deploy
- name: Test NewFeature
run: |
make sit-test test_mode=feature
sit-milvus-upgrade:
name: System Integration Test for Milvus Upgrade
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
os: [ubuntu24.04]
steps:
- name: Free Up Disk Space
run:
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /usr/local/share/boost /opt/ghc
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Prepare Docker Images
run: |
make sit-prepare-images
- name: Setup KinD Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
cluster_name: kind
- name: Deploy to KinD
run: |
make sit-deploy
- name: Test Upgrade
run: |
make test-milvus-upgrade
sit-upgrade:
name: System Integration Test for Upgrade
runs-on: ubuntu-latest
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
os: [ubuntu24.04]
steps:
- name: Free Up Disk Space
run:
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /usr/local/share/boost /opt/ghc
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup KinD Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
cluster_name: kind
- name: Prepare Docker Images
run: |
make sit-prepare-images
make sit-load-images
- name: Test Upgrade
run: |
make test-upgrade