Skip to content

feat: add OTel metrics with Prometheus exporter and ServiceMonitor auto-creation #290

feat: add OTel metrics with Prometheus exporter and ServiceMonitor auto-creation

feat: add OTel metrics with Prometheus exporter and ServiceMonitor auto-creation #290

Workflow file for this run

name: E2E Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test-e2e:
name: Run E2E Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v5
with:
go-version-file: go.mod
cache: true
- name: Create kind cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1
with:
cluster_name: kind
- name: Wait for kind cluster to be ready
run: |
kubectl wait --for=condition=Ready nodes --all --timeout=300s
kubectl wait --for=condition=Ready --namespace=kube-system pod --all --timeout=300s
echo "Cluster is ready"
- name: Run E2E tests
run: |
make test-e2e-ci