|
10 | 10 |
|
11 | 11 | jobs: |
12 | 12 | build-auto-instrumentation: |
13 | | - runs-on: ubuntu-latest |
| 13 | + strategy: |
| 14 | + matrix: |
| 15 | + runner: [ubuntu-latest, ubuntu-22.04-arm] |
| 16 | + runs-on: ${{ matrix.runner }} |
14 | 17 | steps: |
15 | 18 | - name: Checkout Repo |
16 | 19 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 |
17 | 20 | - name: Build auto-instrumentation |
18 | 21 | run: | |
19 | 22 | IMG=otel-go-instrumentation:latest make docker-build |
20 | | - docker save otel-go-instrumentation:latest -o otel-go-instrumentation.tar |
| 23 | + docker save otel-go-instrumentation:latest -o otel-go-instrumentation-${{ matrix.runner }}.tar |
21 | 24 | - name: Upload Docker image artifact |
22 | 25 | uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4 |
23 | 26 | with: |
24 | | - name: otel-go-instrumentation |
25 | | - path: otel-go-instrumentation.tar |
| 27 | + name: otel-go-instrumentation-${{ matrix.runner }} |
| 28 | + path: otel-go-instrumentation-${{ matrix.runner }}.tar |
| 29 | + |
26 | 30 | kubernetes-test: |
27 | 31 | needs: |
28 | 32 | - build-auto-instrumentation |
29 | 33 | strategy: |
30 | 34 | matrix: |
31 | 35 | k8s-version: ["v1.26.0"] |
32 | 36 | library: ["autosdk", "nethttp", "nethttp_custom", "gin", "databasesql", "grpc", "otelglobal", "kafka-go"] |
33 | | - runs-on: ubuntu-latest |
| 37 | + runner: [ubuntu-latest, ubuntu-22.04-arm] |
| 38 | + runs-on: ${{ matrix.runner }} |
34 | 39 | steps: |
35 | 40 | - name: Checkout Repo |
36 | 41 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 |
@@ -58,10 +63,10 @@ jobs: |
58 | 63 | - name: Download Docker image artifact |
59 | 64 | uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4 |
60 | 65 | with: |
61 | | - name: otel-go-instrumentation |
| 66 | + name: otel-go-instrumentation-${{ matrix.runner }} |
62 | 67 | - name: Load Docker image |
63 | 68 | run: | |
64 | | - docker load -i otel-go-instrumentation.tar |
| 69 | + docker load -i otel-go-instrumentation-${{ matrix.runner }}.tar |
65 | 70 | - name: Kind load images |
66 | 71 | run: | |
67 | 72 | kind load docker-image otel-go-instrumentation --name chart-testing |
|
0 commit comments