Skip to content

Commit

Permalink
Add test cases for explicit Metric Address to be executed in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Swati Sehgal <[email protected]>
  • Loading branch information
swatisehgal committed Apr 9, 2024
1 parent 2feea1c commit ef60b62
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,21 @@ jobs:
run: |
kubectl logs -l name=resource-topology -c resource-topology-exporter-container || :
e2e-metrics-https:
e2e-metrics:
strategy:
matrix:
mode: [http, httptls]
address: ["0.0.0.0","127.120.110.100"]
runs-on: ubuntu-22.04
env:
E2E_NODE_REFERENCE: true
E2E_TOPOLOGY_MANAGER_POLICY: single-numa-node
E2E_TOPOLOGY_MANAGER_SCOPE: container
RTE_CONTAINER_IMAGE: quay.io/k8stopologyawarewg/resource-topology-exporter:ci
RTE_METRICS_CLI_AUTH: false
RTE_METRICS_MODE: httptls
RTE_METRICS_MODE: ${{ matrix.mode }}
METRICS_ADDRESS: ${{ matrix.address }}
METRICS_PORT: "2112"
RTE_POLL_INTERVAL: 10s
RTE_VERBOSE: 6
steps:
Expand Down Expand Up @@ -139,6 +145,8 @@ jobs:
RTE_CONTAINER_IMAGE=${RTE_CONTAINER_IMAGE} \
RTE_METRICS_CLI_AUTH=${RTE_METRICS_CLI_AUTH} \
RTE_METRICS_MODE=${RTE_METRICS_MODE} \
METRICS_ADDRESS=${METRICS_ADDRESS} \
METRICS_PORT=${METRICS_PORT} \
RTE_POLL_INTERVAL=${RTE_POLL_INTERVAL} \
RTE_VERBOSE=${RTE_VERBOSE} \
make gen-manifests | tee rte-e2e.yaml
Expand Down

0 comments on commit ef60b62

Please sign in to comment.