diff --git a/.github/workflows/test-charts.yaml b/.github/workflows/test-charts.yaml index 2df14af7..a4de1956 100644 --- a/.github/workflows/test-charts.yaml +++ b/.github/workflows/test-charts.yaml @@ -27,8 +27,7 @@ jobs: - name: Install and test Redis Related Helm charts run: | kubectl cluster-info --context kind-kind - chart_dirs=("redis-operator" "redis" "redis-cluster" "redis-replication" "redis-sentinel") - for dir in "${chart_dirs[@]}" + for CHART_DIR in $(find charts -maxdepth 1 -type d | tail -n +2 | grep "^charts/redis") do chart_version=$(yq e .version ./charts/$dir/Chart.yaml) echo "Installing $dir chart with version $chart_version..."