Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Add automated version syncing and validation to Helm workflow

rcourtmanb04236565265
diff --git a/.github/workflows/helm-pages.yml b/.github/workflows/helm-pages.yml
index c88db4de59..d094221341 100644
--- a/.github/workflows/helm-pages.yml
+++ b/.github/workflows/helm-pages.yml
@@ -42,6 +42,37 @@ jobs:
fi
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
+ - name: Update Chart.yaml version
+ run: |
+ VERSION="${{ steps.version.outputs.version }}"
+ sed -i "s/^version: .*/version: $VERSION/" deploy/helm/pulse/Chart.yaml
+ sed -i "s/^appVersion: .*/appVersion: \"$VERSION\"/" deploy/helm/pulse/Chart.yaml
+
+ # Commit if changed (for manual workflow runs)
+ if ! git diff --quiet deploy/helm/pulse/Chart.yaml; then
+ git config user.name "$GITHUB_ACTOR"
+ git config user.email "[email protected]"
+ git add deploy/helm/pulse/Chart.yaml
+ git commit -m "Auto-update Helm chart version to $VERSION"
+ git push
+ fi
+
+ - name: Validate Helm chart
+ run: |
+ # Strict linting
+ helm lint deploy/helm/pulse --strict
+
+ # Template validation with minimal values
+ helm template pulse deploy/helm/pulse --set persistence.enabled=false > /dev/null
+
+ # Template validation with common overrides
+ helm template pulse deploy/helm/pulse \
+ --set ingress.enabled=true \
+ --set ingress.hosts[0].host=pulse.example.com \
+ --set agent.enabled=true > /dev/null
+
+ echo "✓ Chart validation passed"
+
- name: Run chart-releaser
uses: helm/[email protected]
with: