Skip to content

Commit fac10b1

Browse files
committed
multi-instrumentation
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
1 parent e611dc5 commit fac10b1

File tree

5 files changed

+68
-3
lines changed

5 files changed

+68
-3
lines changed

.github/workflows/e2e.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
kube-version:
2424
- "1.23"
2525
- "1.29"
26-
group:
26+
group: []
2727
# - e2e
2828
# - e2e-instrumentation
2929
# - e2e-upgrade
@@ -32,7 +32,7 @@ jobs:
3232
# - e2e-opampbridge
3333
# - e2e-prometheuscr
3434
# - e2e-targetallocator
35-
- e2e-multi-instrumentation
35+
# - e2e-multi-instrumentation
3636
include:
3737
- group: e2e-prometheuscr
3838
setup: "prepare-e2e-with-featuregates FEATUREGATES=+operator.observability.prometheus"
@@ -107,7 +107,7 @@ jobs:
107107
- e2e-prometheuscr
108108
- e2e-targetallocator
109109
- e2e-upgrade
110-
# - e2e-multi-instrumentation
110+
- e2e-multi-instrumentation
111111
include:
112112
- group: e2e-prometheuscr
113113
setup: "prepare-e2e-with-featuregates FEATUREGATES=+operator.observability.prometheus"

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ chainsaw-e2e-autoscale:
273273
chainsaw-e2e-instrumentation:
274274
chainsaw test --test-dir ./tests/e2e-instrumentation
275275

276+
# end-to-tests for multi-instrumentation
277+
.PHONY: chainsaw-e2e-multi-instrumentation
278+
chainsaw-e2e-multi-instrumentation:
279+
chainsaw test --test-dir ./tests/e2e-multi-instrumentation
280+
276281
# OpAMPBridge CR end-to-tests
277282
.PHONY: chainsaw-e2e-opampbridge
278283
chainsaw-e2e-opampbridge:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json
2+
apiVersion: chainsaw.kyverno.io/v1alpha1
3+
kind: Test
4+
metadata:
5+
creationTimestamp: null
6+
name: instrumentation-multi-multicontainer
7+
spec:
8+
steps:
9+
- name: step-00
10+
try:
11+
- apply:
12+
file: 00-install-collector.yaml
13+
- apply:
14+
file: 00-install-instrumentation.yaml
15+
- name: step-01
16+
try:
17+
- apply:
18+
file: 01-install-app.yaml
19+
- assert:
20+
file: 01-assert.yaml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json
2+
apiVersion: chainsaw.kyverno.io/v1alpha1
3+
kind: Test
4+
metadata:
5+
creationTimestamp: null
6+
name: instrumentation-multi-no-containers
7+
spec:
8+
steps:
9+
- name: step-00
10+
try:
11+
- apply:
12+
file: 00-install-collector.yaml
13+
- apply:
14+
file: 00-install-instrumentation.yaml
15+
- name: step-01
16+
try:
17+
- apply:
18+
file: 01-install-app.yaml
19+
- assert:
20+
file: 01-assert.yaml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json
2+
apiVersion: chainsaw.kyverno.io/v1alpha1
3+
kind: Test
4+
metadata:
5+
creationTimestamp: null
6+
name: instrumentation-single-instr-first-container
7+
spec:
8+
steps:
9+
- name: step-00
10+
try:
11+
- apply:
12+
file: 00-install-collector.yaml
13+
- apply:
14+
file: 00-install-instrumentation.yaml
15+
- name: step-01
16+
try:
17+
- apply:
18+
file: 01-install-app.yaml
19+
- assert:
20+
file: 01-assert.yaml

0 commit comments

Comments
 (0)