Configure Gitea Actions for Helm chart CI and release
Helm Chart CI & Release / Lint Helm Chart (push) Failing after 39s
Helm Chart CI & Release / Release Helm Chart (push) Has been skipped

- Replace GitHub chart-releaser with Gitea-compatible workflow
- Lint job: helm lint, template validation on push to main/master
- Release job: package and publish to Gitea releases on tag push (v*)
- Use gitea-release-action for creating releases
- Support both main and master branches

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-19 17:13:53 +00:00
parent 8583d25aa3
commit b5c22e84ec
11 changed files with 229 additions and 82 deletions
+11 -3
View File
@@ -25,13 +25,21 @@ endif
deps:
helm dependency update fleetdm-stack/
install: deps
tls-certs:
@mkdir -p fleetdm-stack/certs && \
if [ ! -f fleetdm-stack/certs/cert.pem ]; then \
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
-keyout fleetdm-stack/certs/key.pem -out fleetdm-stack/certs/cert.pem \
-subj "/CN=fleet.localhost"; \
echo "Generated TLS certs in fleetdm-stack/certs/"; \
fi
install: deps tls-certs
@echo "Creating namespace $(NAMESPACE)..."
kubectl create namespace $(NAMESPACE) --dry-run=client -o yaml | kubectl apply -f -
@echo "Installing FleetDM stack..."
helm upgrade --install $(RELEASE_NAME) fleetdm-stack/ \
--namespace $(NAMESPACE) \
--wait --timeout 15m
--namespace $(NAMESPACE)
@echo "Installation complete. Run 'make verify' to check status."
uninstall: