Skip to content

feat(transmute): added the base/overlay for the transmute conversion … #21

feat(transmute): added the base/overlay for the transmute conversion …

feat(transmute): added the base/overlay for the transmute conversion … #21

name: Lint and Validate
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install yamllint
run: pip install yamllint
- name: Run yamllint
run: yamllint . -c .yamllint.yaml
- name: Setup Flux CLI
uses: fluxcd/flux2/action@main
- name: Validate Flux Manifests
run: |
# Recursively find all Kustomizations in the clusters directory
# and ensure they can be built successfully
find . -type f -name "kustomization.yaml" -not -path "**/flux-system/*" | while read -r file; do
dir=$(dirname "$file")
echo "Validating Kustomize build in $dir..."
kustomize build "$dir" > /dev/null
done