Skip to content

Commit 2f62485

Browse files
authored
Merge branch 'main' into update_semantic
2 parents 2d1c9cc + 12f770e commit 2f62485

File tree

24 files changed

+141
-118
lines changed

24 files changed

+141
-118
lines changed

.github/patches/opentelemetry-java-instrumentation.patch

Lines changed: 98 additions & 90 deletions
Large diffs are not rendered by default.

.github/patches/versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
OTEL_JAVA_INSTRUMENTATION_VERSION=v1.32.1
1+
OTEL_JAVA_INSTRUMENTATION_VERSION=v1.33.6

.github/workflows/main-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
fetch-depth: 0
195195
- uses: actions/setup-java@v4
196196
with:
197-
java-version: 17
197+
java-version: 21
198198
distribution: 'temurin'
199199
- uses: gradle/wrapper-validation-action@v1
200200

@@ -219,7 +219,7 @@ jobs:
219219
key: ${{ runner.os }}-maven-local-${{ hashFiles('.github/patches/opentelemetry-java*.patch') }}
220220

221221
- name: Pull base image of Contract Tests Sample Apps
222-
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine
222+
run: docker pull public.ecr.aws/docker/library/amazoncorretto:21-alpine
223223

224224
- name: Build snapshot with Gradle
225225
uses: gradle/gradle-build-action@v3

.github/workflows/nightly-upstream-snapshot-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
fetch-depth: 0
121121
- uses: actions/setup-java@v4
122122
with:
123-
java-version: 17
123+
java-version: 21
124124
distribution: 'temurin'
125125
- uses: gradle/wrapper-validation-action@v1
126126

@@ -136,7 +136,7 @@ jobs:
136136
registry: public.ecr.aws
137137

138138
- name: Pull base image of Contract Tests Sample Apps
139-
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine
139+
run: docker pull public.ecr.aws/docker/library/amazoncorretto:21-alpine
140140

141141
- name: Build snapshot with Gradle
142142
uses: gradle/gradle-build-action@v3

.github/workflows/pr-build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,28 @@ jobs:
8181
with:
8282
arguments: build integrationTests --stacktrace -PenableCoverage=true -PlocalDocker=true
8383

84+
- name: Set up Java version for tests
85+
uses: actions/setup-java@v4
86+
with:
87+
java-version: 21
88+
distribution: temurin
89+
8490
- name: Pull base image of Contract Tests Sample Apps
8591
if: ${{ matrix.os == 'ubuntu-latest' }}
86-
run: docker pull public.ecr.aws/docker/library/amazoncorretto:17-alpine
92+
run: docker pull public.ecr.aws/docker/library/amazoncorretto:21-alpine
8793

8894
- name: Run contract tests
8995
uses: gradle/gradle-build-action@v3
9096
if: ${{ matrix.os == 'ubuntu-latest' }}
9197
with:
9298
arguments: contractTests -PlocalDocker=true -i
9399

100+
- name: Set up Java version for image build
101+
uses: actions/setup-java@v4
102+
with:
103+
java-version: 17
104+
distribution: temurin
105+
94106
- name: Get current version
95107
if: ${{ matrix.os == 'ubuntu-latest' }}
96108
shell: bash

appsignals-tests/images/aws-sdk/aws-sdk-v1/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ tasks {
5757
}
5858
jib {
5959
configureImages(
60-
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
60+
"public.ecr.aws/docker/library/amazoncorretto:21-alpine",
6161
"aws-appsignals-tests-aws-sdk-v1",
6262
localDocker = rootProject.property("localDocker")!! == "true",
6363
multiPlatform = false,

appsignals-tests/images/aws-sdk/aws-sdk-v2/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ tasks {
5757
}
5858
jib {
5959
configureImages(
60-
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
60+
"public.ecr.aws/docker/library/amazoncorretto:21-alpine",
6161
"aws-appsignals-tests-aws-sdk-v2",
6262
localDocker = rootProject.property("localDocker")!! == "true",
6363
multiPlatform = false,

appsignals-tests/images/grpc/grpc-client/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tasks {
4141
}
4242
jib {
4343
configureImages(
44-
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
44+
"public.ecr.aws/docker/library/amazoncorretto:21-alpine",
4545
"grpc-client",
4646
localDocker = rootProject.property("localDocker")!! == "true",
4747
multiPlatform = false,

appsignals-tests/images/grpc/grpc-server/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tasks {
4646
}
4747
jib {
4848
configureImages(
49-
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
49+
"public.ecr.aws/docker/library/amazoncorretto:21-alpine",
5050
"grpc-server",
5151
localDocker = rootProject.property("localDocker")!! == "true",
5252
multiPlatform = false,

appsignals-tests/images/http-clients/apache-http-client/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tasks {
4343
}
4444
jib {
4545
configureImages(
46-
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
46+
"public.ecr.aws/docker/library/amazoncorretto:21-alpine",
4747
"aws-appsignals-tests-apache-http-client-app",
4848
localDocker = rootProject.property("localDocker")!! == "true",
4949
multiPlatform = false,

0 commit comments

Comments
 (0)