Skip to content

Commit

Permalink
ci: Fix Ci for the helm chart release (#1075)
Browse files Browse the repository at this point in the history
* chore: update redis-operator chart version to 0.18.3

Signed-off-by: Shubham Gupta <[email protected]>

* ci: update publish-charts.yaml workflow

Signed-off-by: Shubham Gupta <[email protected]>

---------

Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk authored Sep 19, 2024
1 parent c44d80b commit 0c036f0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish-charts.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Release Charts

on:
pull_request:
paths:
- 'charts/**'
- '.github/workflows/publish-charts.yaml'
branches:
- master
push:
paths:
- 'charts/**'
Expand Down Expand Up @@ -104,15 +110,15 @@ jobs:
run: |
helm repo add jetstack https://charts.jetstack.io
helm repo update
chart_dirs=("redis-operator" "redis" "redis-cluster" "redis-replication" "redis-sentinel")
for dir in "${chart_dirs[@]}"
do
if [[ -f ./charts/$dir/Chart.yaml ]]; then
helm dependency update ./charts/$dir/
fi
helm package charts/$dir -d .cr-release-packages
done
done
- name: Install chart-releaser
uses: helm/[email protected]
Expand Down

0 comments on commit 0c036f0

Please sign in to comment.