From 3794f1e063370f3b73ed1fccd2d40a985fedc175 Mon Sep 17 00:00:00 2001 From: Bartosz Zurkowski Date: Sat, 10 Sep 2022 16:37:17 +0200 Subject: [PATCH] Setup Prometheus Signed-off-by: Bartosz Zurkowski --- .github/workflows/integrate.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 10d8fb1..c907291 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -79,10 +79,21 @@ jobs: - name: Setup Helm uses: azure/setup-helm@v3 + - name: Setup Prometheus + run: | + helm repo add prometheus-community https://prometheus-community.github.io/helm-charts + helm repo update + + helm install prometheus prometheus-community/kube-prometheus-stack \ + --version 12.7.0 \ + --namespace monitoring \ + --create-namespace \ + --values ${{ github.workspace }}/helm/examples/integrations/prometheus/values.yaml + - name: Test kind and helm run: | helm version - kubectl get pods -A + kubectl get pods -n monitoring test-build: runs-on: ubuntu-latest