Skip to content

Commit 26e0e0e

Browse files
shanduurpovilasv
authored andcommitted
Add riscv64 arch (open-telemetry#41496)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description New Tier 3 platform: `riscv64` architecture is now included, allowing the collector to be built and distributed for this platform. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#41507 X-Ref: open-telemetry/opentelemetry-collector-releases#969 <!--Describe what testing was performed and which tests were added.--> #### Testing I’ve performed basic compilation as well as starting collector inside a linux/riscv64 container (`docker.io/riscv64/debian`). --------- Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
1 parent 3c5df76 commit 26e0e0e

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

.chloggen/rv64.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: architecture
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: New Tier 3 platform riscv64 allowing the collector to be built and distributed for this platform.
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [ 41507 ]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: []

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ jobs:
337337
else
338338
echo "Tests passed or were skipped. Continuing."
339339
fi
340-
340+
341341
unittest:
342342
if: ${{ github.actor != 'dependabot[bot]' && always() }}
343343
runs-on: ubuntu-24.04
@@ -544,6 +544,7 @@ jobs:
544544
- arm
545545
- arm64
546546
- ppc64le
547+
- riscv64
547548
- s390x
548549
include:
549550
- os: linux
@@ -556,6 +557,8 @@ jobs:
556557
arch: arm
557558
- os: darwin
558559
arch: ppc64le
560+
- os: darwin
561+
arch: riscv64
559562
- os: darwin
560563
arch: s390x
561564
- os: windows
@@ -564,6 +567,8 @@ jobs:
564567
arch: arm64
565568
- os: windows
566569
arch: ppc64le
570+
- os: windows
571+
arch: riscv64
567572
- os: windows
568573
arch: s390x
569574
steps:

.github/workflows/telemetrygen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
context: cmd/telemetrygen
104104
push: true
105105
tags: ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen:latest
106-
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
106+
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le,linux/riscv64
107107

108108
publish-stable:
109109
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)