Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Helm lint
on:
pull_request:
paths:
- 'charts/**'
- '.github/workflows/helm-lint.yml'
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azure/setup-helm@v4
Comment on lines +13 to +14
- name: Lint chart
run: helm lint charts
- name: Template (cloud)
run: helm template console charts -f charts/values-cloud.yaml > /dev/null
- name: Template (on-prem)
run: helm template console charts -f charts/values-onprem.yaml > /dev/null
4 changes: 2 additions & 2 deletions .github/workflows/helm-tgz-asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: tar zip helm directory
shell: bash
run: |
(cd $GITHUB_WORKSPACE/kubernetes && tar -czvf device-mgmt-toolkit-helm.tar.gz charts)
tar -czvf device-mgmt-toolkit-helm.tar.gz charts

- name: upload helm tarball release artifact
uses: svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ github.workspace}}/kubernetes/device-mgmt-toolkit-helm.tar.gz
file: ${{ github.workspace}}/device-mgmt-toolkit-helm.tar.gz
asset_name: device-mgmt-toolkit-helm.tar.gz
tag: ${{ github.ref }}
overwrite: true
Expand Down
Loading