Skip to content

[Fix] : Failing Workflow test-chart.yaml #52

[Fix] : Failing Workflow test-chart.yaml

[Fix] : Failing Workflow test-chart.yaml #52

Workflow file for this run

name: Install and Test Helm Chart
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
cluster_name: kind
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.5.4
- name: Install yq
run: |
sudo snap install yq
- name: Install and test Redis Related Helm charts
run: |
kubectl cluster-info --context kind-kind
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..."
helm install $dir ./charts/$dir/
helm test $dir
done
echo "Listing installed Helm charts..."
helm ls