forked from cetic/helm-nifi
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 1.3.2 feat(ci): switch from CircleCI to GitHub Actions for packag…
…ing (#23) * fix: correct deployment of NiFi Helm chart version 1.3.1 * Update Helm chart and index * feat(ci): remove circle ci. * feat(ci): add GitHub Action for Helm packaging --------- Co-authored-by: GitHub Actions <[email protected]>
- Loading branch information
1 parent
dcea512
commit 614107a
Showing
7 changed files
with
42 additions
and
190 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Package and Release Helm Chart | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Helm | ||
uses: azure/[email protected] | ||
|
||
- name: Update Helm dependencies | ||
run: helm dependency update ./ | ||
|
||
- name: Helm package | ||
run: helm package ./ -d dist | ||
|
||
- name: Update Helm repo index | ||
run: | | ||
helm repo index ./ | ||
- name: Configure Git | ||
run: | | ||
git config --local user.name "GitHub Actions" | ||
git config --local user.email "[email protected]" | ||
- name: Commit and Push changes | ||
run: | | ||
git add dist/ | ||
git add index.yaml | ||
git commit -m "Update Helm chart and index" | ||
git push origin |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# Helm Charts dependencies | ||
/charts/*.tgz | ||
*.lock | ||
|
||
.idea | ||
.idea |
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
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
Binary file not shown.
This file was deleted.
Oops, something went wrong.