Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Remove updating Helm chart from release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Nov 14, 2022
1 parent 03322d4 commit bec3cc1
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,35 +90,3 @@ jobs:
JAR_FILE=kafka-ui-api-${{ steps.build.outputs.version }}.jar
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

charts:
runs-on: ubuntu-latest
needs: release
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1

- run: |
git config user.name github-actions
git config user.email [email protected]
- uses: azure/setup-helm@v3

- name: update chart version
run: |
export version=${{needs.release.outputs.version}}
sed -i "s/version:.*/version: ${version}/" charts/kafka-ui/Chart.yaml
sed -i "s/appVersion:.*/appVersion: ${version}/" charts/kafka-ui/Chart.yaml
- name: add chart
run: |
export VERSION=${{needs.release.outputs.version}}
MSG=$(helm package --app-version ${VERSION} charts/kafka-ui)
git fetch origin
git stash
git checkout -b gh-pages origin/gh-pages
helm repo index .
git add -f ${MSG##*/} index.yaml
git commit -m "release ${VERSION}"
git push

0 comments on commit bec3cc1

Please sign in to comment.