From 108999fa3f785789e182a2c10e1a99c51857c359 Mon Sep 17 00:00:00 2001
From: Pavol Loffay
Date: Thu, 17 Oct 2024 15:12:27 +0200
Subject: [PATCH] Add nodejs auto-instrumentation support for
linux/s390x,linux/ppc64le
Signed-off-by: Pavol Loffay
---
.chloggen/nodejs-ibm-platforms.yaml | 16 ++++++++++++++++
.../publish-autoinstrumentation-nodejs.yaml | 2 +-
2 files changed, 17 insertions(+), 1 deletion(-)
create mode 100755 .chloggen/nodejs-ibm-platforms.yaml
diff --git a/.chloggen/nodejs-ibm-platforms.yaml b/.chloggen/nodejs-ibm-platforms.yaml
new file mode 100755
index 0000000000..50d44d5a78
--- /dev/null
+++ b/.chloggen/nodejs-ibm-platforms.yaml
@@ -0,0 +1,16 @@
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: enhancement
+
+# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
+component: auto-instrumentation
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Add Nodejs auto-instrumentation image builds for linux/s390x,linux/ppc64le.
+
+# One or more tracking issues related to the change
+issues: [3322]
+
+# (Optional) One or more lines of additional information to render under the primary note.
+# These lines will be padded with 2 spaces and then inserted directly into the document.
+# Use pipe (|) for multiline entries.
+subtext:
diff --git a/.github/workflows/publish-autoinstrumentation-nodejs.yaml b/.github/workflows/publish-autoinstrumentation-nodejs.yaml
index 45b368fbf6..083b7306ae 100644
--- a/.github/workflows/publish-autoinstrumentation-nodejs.yaml
+++ b/.github/workflows/publish-autoinstrumentation-nodejs.yaml
@@ -71,7 +71,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: autoinstrumentation/nodejs
- platforms: linux/amd64,linux/arm64
+ platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
push: ${{ github.event_name == 'push' }}
build-args: version=${{ env.VERSION }}
tags: ${{ steps.meta.outputs.tags }}