Skip to content

Commit

Permalink
Move the instrumentation E2E tests to their own folder (#2084)
Browse files Browse the repository at this point in the history
Signed-off-by: Israel Blancas <[email protected]>
  • Loading branch information
iblancasa committed Sep 5, 2023
1 parent 2bdbe77 commit 8d3000e
Show file tree
Hide file tree
Showing 70 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- "1.28"
group:
- e2e
- e2e-instrumentation
- e2e-upgrade
- e2e-prometheuscr
- e2e-autoscale
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ generate: controller-gen api-docs
e2e:
$(KUTTL) test


# instrumentation end-to-tests
.PHONY: e2e-instrumentation
e2e-instrumentation:
$(KUTTL) test --config kuttl-test-instrumentation.yaml

# end-to-end-test for PrometheusCR E2E tests
.PHONY: e2e-prometheuscr
e2e-prometheuscr:
Expand Down
5 changes: 5 additions & 0 deletions kuttl-test-instrumentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kuttl.dev/v1beta1
kind: TestSuite
testDirs:
- ./tests/e2e-instrumentation/
timeout: 300
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
sidecar.opentelemetry.io/inject: "true"
instrumentation.opentelemetry.io/inject-apache-httpd: "true"
spec:
securityContext:
runAsUser: 1000
runAsGroup: 3000
fsGroup: 2000
containers:
- name: myapp
image: docker.io/chrlic/apache-test@sha256:fad58c6ce7a4f477b455bece2a1980741fa6f81cef1e1093a3b72f9b2ffa7b8e
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8d3000e

Please sign in to comment.