Skip to content

Commit 63ef2f5

Browse files
Update path
1 parent 03441de commit 63ef2f5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/nr-k8s-otel-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: nr-k8s-otel-e2e.yml
1+
name: K8s OTEL E2E Test Suite
22
on:
33
pull_request:
44

@@ -9,7 +9,7 @@ env:
99

1010
jobs:
1111
e2e-test:
12-
name: E2e Tests
12+
name: Run Tests
1313
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci/skip-e2e') }}
1414
runs-on: ubuntu-latest
1515
# If the environment is broken, this job could time out since the default timeout for tilt ci is 30m.

charts/nr-k8s-otel-collector/e2e/test-specs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ description: New Relic K8s OTEL E2E Test
22

33
custom_test_key: cluster_name
44

5+
permissions:
6+
contents: read
7+
58
scenarios:
69
- description: This scenario will verify that metrics from a K8s OTEL Cluster are correctly collected
710
before:
811
# - cd ../../ && NR_PROM_LICENSE_KEY=${LICENSE_KEY} NR_PROM_CLUSTER=${SCENARIO_TAG} make tilt-ci
9-
- helm upgrade --install ${SCENARIO_TAG} --namespace nr-${SCENARIO_TAG} --create-namespace ../. --values e2e-values.yml --set global.licenseKey=${LICENSE_KEY} --set global.cluster=${SCENARIO_TAG}
12+
- helm dependency update ../
13+
- helm upgrade --install ${SCENARIO_TAG} --namespace nr-${SCENARIO_TAG} --create-namespace ../ --values e2e-values.yml --set global.licenseKey=${LICENSE_KEY} --set global.cluster=${SCENARIO_TAG}
1014
after:
1115
# - kubectl logs -l app.kubernetes.io/name=newrelic-prometheus-agent --all-containers --prefix=true
1216
- kubectl get all -o wide

0 commit comments

Comments
 (0)