(ci) add helmfile linter

Add a linter to avoid to merge config that breaks argocd sync
This commit is contained in:
Jacques ROUSSEL
2024-09-24 10:07:13 +02:00
committed by Marie
parent fbb2accefb
commit 5420b20f43
2 changed files with 23 additions and 1 deletions

22
.github/workflows/helmfile-linter.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Helmfile lint
run-name: Helmfile lint
on:
pull_request:
branches:
- 'main'
jobs:
helmfile-lint:
runs-on: ubuntu-latest
container:
image: ghcr.io/helmfile/helmfile:latest
steps:
-
uses: numerique-gouv/action-helmfile-lint@main
with:
app-id: ${{ secrets.APP_ID }}
age-key: ${{ secrets.SOPS_PRIVATE }}
private-key: ${{ secrets.PRIVATE_KEY }}
helmfile-src: "src/helm"
repositories: "people,secrets"

Submodule secrets updated: 2572ba98d3...7484f212c5