Skip to content

Add test for kustomize #8

Add test for kustomize

Add test for kustomize #8

name: Kustomize GitHub Actions for rabbitmq-operator
on:
pull_request:
paths:
- kustomize/rabbitmq-operator/**
- .github/workflows/kustomize-rabbitmq-operator.yaml
jobs:
kustomize:
name: Kustomize
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Kustomize Install
working-directory: /usr/local/bin/
run: |
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | sudo bash
- name: Run Kustomize Build
run: |
kustomize build kustomize/rabbitmq-operator > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
name: kustomize-rabbitmq-operator-artifact
path: /tmp/rendered.yaml