Skip to content

Add test for kustomize #4

Add test for kustomize

Add test for kustomize #4

name: Kustomize GitHub Actions for topolvm
on:
pull_request:
paths:
- kustomize/topolvm/**
- .github/workflows/kustomize-toplvm.yaml
jobs:
kustomize:
strategy:
matrix:
overlays:
- general
name: Kustomize
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: azure/setup-helm@v3
with:
version: latest
token: "${{ secrets.GITHUB_TOKEN }}"
id: helm
- name: 'Kustomize Build'
uses: karancode/kustomize-github-action@master
with:
kustomize_version: 5.1.1
kustomize_build_dir: 'kustomize/topolvm/${{ matrix.overlays }}'
kustomize_comment: true
kustomize_output_file: "gitops/rendered.yaml"
kustomize_build_options: "--enable-helm --helm-command ${{ steps.helm.outputs.helm-path }}"
enable_alpha_plugins: false