-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 916 Bytes
/
helm-lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Helm Lint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
push:
branches: [ "main" ]
jobs:
helm-lint:
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Helm
uses: azure/setup-helm@v4
with:
token: ${{ secrets.GITHUB_TOKEN }} # only needed if version is 'latest'
- name: Download helm dependencies
run: find apps/ -name config.json -exec $SHELL -c 'echo {} && helm dependency update $(dirname {})' \;
- name: Run Helm Lint
run: find apps/ -name config.json -exec dirname {} \; | xargs helm lint
- name: Setup helmfile
uses: mamezou-tech/[email protected]
- name: Run helmfile lint
run: helmfile lint -f cluster-setup/first-run/
- uses: sarisia/actions-status-discord@v1
if: failure()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}