Skip to content

Add test for kustomize #5

Add test for kustomize

Add test for kustomize #5

name: Kustomize GitHub Actions for memcached
on:
pull_request:
paths:
- kustomize/memcached/**
- .github/workflows/kustomize-memcached.yaml
jobs:
kustomize:
strategy:
matrix:
overlays:
- base
- aio
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/memcached/${{ 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