From d9a13d8c29bda616d00ef310ecd584e4937f17fa Mon Sep 17 00:00:00 2001 From: agent-company Date: Thu, 28 May 2026 00:01:52 +0000 Subject: [PATCH] ci: add Gitea Actions workflow to validate kustomize build on every PR (Closes leeworks-agents/api-company#69) --- .gitea/workflows/validate-flux.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/validate-flux.yaml diff --git a/.gitea/workflows/validate-flux.yaml b/.gitea/workflows/validate-flux.yaml new file mode 100644 index 0000000..20bb552 --- /dev/null +++ b/.gitea/workflows/validate-flux.yaml @@ -0,0 +1,21 @@ +name: Validate Flux manifests + +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + kustomize-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install kustomize + run: | + curl -sL "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash + sudo mv kustomize /usr/local/bin/ + + - name: kustomize build flux/ + run: kustomize build flux/ > /dev/null