prometheus-postgres-exporter/.gitea/workflows/helm.yaml

38 lines
790 B
YAML
Raw Normal View History

2025-01-11 13:01:47 +00:00
name: Helm
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
2025-01-11 13:19:50 +00:00
push: {}
2025-01-11 13:01:47 +00:00
workflow_dispatch: {}
jobs:
helm-lint:
container:
image: docker.io/volkerraschek/helm:3.16.1
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
2025-01-11 13:15:54 +00:00
apk add git npm
2025-01-11 13:01:47 +00:00
- uses: actions/checkout@v4.2.2
- name: Lint helm files
run: |
helm lint --values values.yaml .
helm-unittest:
container:
image: docker.io/volkerraschek/helm:3.16.1
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
2025-01-11 13:16:49 +00:00
apk add git npm
2025-01-12 14:13:20 +00:00
- uses: actions/checkout@v4.2.2
2025-01-11 13:01:47 +00:00
- name: Unittest
run: |
helm unittest --strict --file 'unittests/**/*.yaml' ./