Skip to content

Commit 35782f1

Browse files
authored
[chore] Update upstream otel sub-module, add support for nodejs 22.x runtime (#1031)
* Update nodejs runtimes in tests and Otel-submodule * add nodejs22.x in tests * update go in workflows
1 parent 803a06d commit 35782f1

File tree

13 files changed

+18
-13
lines changed

13 files changed

+18
-13
lines changed

.github/workflows/canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
submodules: recursive
6868
- uses: actions/setup-go@v5
6969
with:
70-
go-version: '~1.21.10'
70+
go-version: '~1.23.4'
7171
check-latest: true
7272
- uses: actions/setup-java@v4
7373
if: ${{ matrix.language == 'java' }}

.github/workflows/main-build-java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
submodules: recursive
8686
- uses: actions/setup-go@v5
8787
with:
88-
go-version: '~1.21.10'
88+
go-version: '~1.23.4'
8989
check-latest: true
9090
- uses: actions/setup-java@v4
9191
with:

.github/workflows/main-build-nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
architecture: [ amd64, arm64 ]
26-
runtime: [nodejs16.x, nodejs18.x]
26+
runtime: [nodejs18.x, node20.x, nodejs22.x]
2727
steps:
2828
- uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
3131
- uses: actions/setup-go@v5
3232
with:
33-
go-version: '~1.21.10'
33+
go-version: '~1.23.4'
3434
check-latest: true
3535
- uses: actions/setup-node@v4
3636
with:
37-
node-version: '16'
37+
node-version: '18'
3838
- name: Cache (NodeJS)
3939
uses: actions/cache@v4
4040
with:

.github/workflows/main-build-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
submodules: recursive
3131
- uses: actions/setup-go@v5
3232
with:
33-
go-version: '~1.21.10'
33+
go-version: '~1.23.4'
3434
check-latest: true
3535
- uses: actions/setup-python@v5
3636
with:

.github/workflows/main-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
submodules: recursive
4141
- uses: actions/setup-go@v5
4242
with:
43-
go-version: '~1.21.10'
43+
go-version: '~1.23.4'
4444
check-latest: true
4545
- uses: actions/setup-dotnet@v4
4646
if: ${{ matrix.language == 'dotnet' }}

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
submodules: true
2525
- uses: actions/setup-go@v5
2626
with:
27-
go-version: '~1.21.10'
27+
go-version: '~1.23.4'
2828
check-latest: true
2929
- uses: actions/setup-java@v4
3030
if: ${{ matrix.language == 'java' }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
# above, always setup go 1.18.
273273
# if: ${{ env.TEST_LANGUAGE == 'go' }}
274274
with:
275-
go-version: '~1.21.10'
275+
go-version: '~1.23.4'
276276
check-latest: true
277277
- name: download layer tf file
278278
uses: actions/download-artifact@v4

.github/workflows/soaking.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
submodules: recursive
6868
- uses: actions/setup-go@v5
6969
with:
70-
go-version: '~1.21.10'
70+
go-version: '~1.23.4'
7171
check-latest: true
7272
- uses: actions/setup-java@v4
7373
if: ${{ matrix.language == 'java' }}

go/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ popd || exit
99
# Build sample app
1010

1111
cd ../opentelemetry-lambda/go/sample-apps/function || exit
12-
go mod tidy
1312
CGO_ENABLED=0 ./build.sh

nodejs/integration-tests/aws-sdk/wrapper/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module "hello-lambda-function" {
2626
collector_layer_arn = var.enable_collector_layer ? aws_lambda_layer_version.collector_layer[0].arn : null
2727
sdk_layer_arn = aws_lambda_layer_version.sdk_layer.arn
2828
tracing_mode = var.tracing_mode
29+
runtime = var.runtime
2930
}
3031

3132
resource "aws_iam_role_policy_attachment" "hello-lambda-cloudwatch-insights" {

0 commit comments

Comments
 (0)