Skip to content

Helmfile lint

Helmfile lint #3

Workflow file for this run

name: Helmfile lint
run-name: Helmfile lint
on:
push:
jobs:
helmfile-lint:
runs-on: ubuntu-latest
container:
image: ghcr.io/helmfile/helmfile:latest
steps:
-
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: "meet,secrets"
-
name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ steps.app-token.outputs.token }}
-
name: Load sops secrets
uses: rouja/actions-sops@main
with:
secret-file: secrets/numerique-gouv/meet/secrets.enc.env
age-key: ${{ secrets.SOPS_PRIVATE }}
-
name: Create sops master key file
shell: bash
run: mkdir -p ~/.config/sops/age/ && echo ${SOPS_PRIVATE} > ~/.config/sops/age/keys.txt
-
name: Validate helmfile
run: bash bin/validate-helm-configuration.sh