This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
forked from provectus/kafka-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove updating Helm chart from release workflow
- Loading branch information
Showing
1 changed file
with
0 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |