Skip to content

Commit

Permalink
fix workflow conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Szefler committed Jul 5, 2024
1 parent a4298e8 commit edd897a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test-prometrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
2 changes: 1 addition & 1 deletion tests/config_github_kind.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
testConfig:
- type: "PrometheusConfig"
params:
url: http://localhost:9090
url: https://localhost:9090
# headers:
# prometheus_auth:
# prometheus_url_query_string:
Expand Down

0 comments on commit edd897a

Please sign in to comment.