From aa1f41b8f1e224691ee7f00867b569983b185d7d Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Sun, 28 Jan 2024 14:40:20 -0600 Subject: [PATCH] add test for kustomize Signed-off-by: Kevin Carter --- .github/workflows/kustomize-cinder.yaml | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/kustomize-cinder.yaml diff --git a/.github/workflows/kustomize-cinder.yaml b/.github/workflows/kustomize-cinder.yaml new file mode 100644 index 00000000..e6ad4b35 --- /dev/null +++ b/.github/workflows/kustomize-cinder.yaml @@ -0,0 +1,27 @@ +name: Kustomize GitHub Actions for Cinder + +on: + - pull_request + +jobs: + kustomize: + strategy: + matrix: + overlays: + - base + - aio + + name: Kustomize + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: 'Kustomize Build' + uses: karancode/kustomize-github-action@master + with: + kustomize_version: 5.1.1 + kustomize_build_dir: 'kustomize/cinder/${{ matrix.python-version }}' + kustomize_comment: true + kustomize_output_file: "gitops/rendered.yaml" + kustomize_build_options: "--load_restrictor none" + enable_alpha_plugins: true