From edd897ab6d15155c53f428ead36abac76549033e Mon Sep 17 00:00:00 2001 From: Robert Szefler Date: Fri, 5 Jul 2024 14:32:55 +0200 Subject: [PATCH] fix workflow conf --- .github/workflows/test-prometrix.yml | 9 +++++++-- tests/config_github_kind.yaml | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-prometrix.yml b/.github/workflows/test-prometrix.yml index a1561b5..585ed69 100644 --- a/.github/workflows/test-prometrix.yml +++ b/.github/workflows/test-prometrix.yml @@ -33,6 +33,8 @@ jobs: kubectl get namespaces echo "=== PODS ===" kubectl get pods --all-namespaces + echo "=== SERVICES ===" + kubectl get services --all-namespaces - name: Install Prometrix run: | @@ -45,9 +47,12 @@ jobs: with: workload: 'service/kind-prometheus-kube-prome-prometheus' mappings: 9090:9090 - namespace: prometheus + options: '-n prometheus' + + - name: Check tunnel + run: | + curl http://localhost:9090/api/v1/status/config - name: Run Prometrix tests -# kubectl port-forward -n prometheus service/kind-prometheus-kube-prome-prometheus 9090:9090 run: | python tests/main.py tests/config_github_kind.yaml diff --git a/tests/config_github_kind.yaml b/tests/config_github_kind.yaml index eeb8ab3..8935e3e 100644 --- a/tests/config_github_kind.yaml +++ b/tests/config_github_kind.yaml @@ -1,7 +1,7 @@ testConfig: - type: "PrometheusConfig" params: - url: http://localhost:9090 + url: https://localhost:9090 # headers: # prometheus_auth: # prometheus_url_query_string: