Skip to content

Commit

Permalink
add python (#160)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk authored Oct 12, 2023
1 parent 771c90f commit 0a703bc
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,15 @@ jobs:
uses: azure/setup-helm@v3
with:
version: v3.5.4


- uses: actions/setup-python@v4
with:
python-version: '3.9'
check-latest: true

- name: Set up chart-testing
uses: helm/[email protected]

- name: Add Helm Repository
run: |
helm repo add jetstack https://charts.jetstack.io
Expand All @@ -37,22 +45,18 @@ jobs:
- name: Update Chart Dependencies for redis-operator
run: helm dependency update charts/redis-operator

- name: Set up chart-testing
uses: helm/[email protected]

- name: List Changed Charts
id: list-changed
run: |
changed_charts=$(ct list-changed)
changed_charts=$(ct list-changed --debug)
echo "Changed charts: $changed_charts"
echo "::set-output name=changed_charts::$changed_charts"
- name: Package and Release Charts
run: |
for CHART_DIR in $(find charts -maxdepth 1 -type d | tail --lines +2); do
CHART=$(basename $CHART_DIR)
for CHART in ${{ steps.list-changed.outputs.changed_charts }}; do
echo "Packaging $CHART..."
helm package $CHART_DIR
helm package charts/$CHART
done
- name: Run chart-releaser
Expand Down

0 comments on commit 0a703bc

Please sign in to comment.