2025-01-11 11:36:09 +00:00
|
|
|
name: Helm
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [ "opened", "reopened", "synchronize" ]
|
|
|
|
push:
|
|
|
|
tags-ignore:
|
|
|
|
- '**'
|
|
|
|
workflow_dispatch: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
helm-lint:
|
|
|
|
container:
|
2025-01-14 22:22:29 +00:00
|
|
|
image: docker.io/volkerraschek/helm:3.16.4
|
2025-01-11 11:36:09 +00:00
|
|
|
runs-on:
|
|
|
|
- ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Install tooling
|
|
|
|
run: |
|
|
|
|
apk update
|
|
|
|
apk add git npm
|
|
|
|
- uses: actions/checkout@v4.2.2
|
|
|
|
- name: Lint helm files
|
|
|
|
run: |
|
|
|
|
helm lint --values values.yaml .
|
|
|
|
|
|
|
|
helm-unittest:
|
|
|
|
container:
|
2025-01-14 22:22:29 +00:00
|
|
|
image: docker.io/volkerraschek/helm:3.16.4
|
2025-01-11 11:36:09 +00:00
|
|
|
runs-on:
|
|
|
|
- ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Install tooling
|
|
|
|
run: |
|
|
|
|
apk update
|
|
|
|
apk add git npm
|
|
|
|
- uses: actions/checkout@v4.2.2
|
|
|
|
- name: Unittest
|
|
|
|
run: |
|
|
|
|
helm unittest --strict --file 'unittests/**/*.yaml' ./
|