Skip to content

Commit 5180afe

Browse files
authored
Fix jib build error in contract tests (#599)
1 parent 862695e commit 5180afe

File tree

15 files changed

+75
-4
lines changed

15 files changed

+75
-4
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ java {
4040
sourceCompatibility = JavaVersion.VERSION_11
4141
targetCompatibility = JavaVersion.VERSION_11
4242
}
43-
43+
tasks {
44+
named("jib") {
45+
enabled = false
46+
}
47+
}
4448
jib {
4549
configureImages(
4650
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ java {
4040
sourceCompatibility = JavaVersion.VERSION_11
4141
targetCompatibility = JavaVersion.VERSION_11
4242
}
43-
43+
tasks {
44+
named("jib") {
45+
enabled = false
46+
}
47+
}
4448
jib {
4549
configureImages(
4650
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ dependencies {
3838

3939
runtimeOnly("io.grpc:grpc-netty-shaded")
4040
}
41-
41+
tasks {
42+
named("jib") {
43+
enabled = false
44+
}
45+
}
4246
jib {
4347
configureImages(
4448
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ dependencies {
4343
application {
4444
mainClass.set("software.amazon.opentelemetry.EchoerServer")
4545
}
46-
46+
tasks {
47+
named("jib") {
48+
enabled = false
49+
}
50+
}
4751
jib {
4852
configureImages(
4953
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ java {
3636

3737
// not publishing images to hubs in this configuration - local build only through jibDockerBuild
3838
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
39+
tasks {
40+
named("jib") {
41+
enabled = false
42+
}
43+
}
3944
jib {
4045
configureImages(
4146
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ java {
3535

3636
// not publishing images to hubs in this configuration - local build only through jibDockerBuild
3737
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
38+
tasks {
39+
named("jib") {
40+
enabled = false
41+
}
42+
}
3843
jib {
3944
configureImages(
4045
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ java {
3636

3737
// not publishing images to hubs in this configuration - local build only through jibDockerBuild
3838
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
39+
tasks {
40+
named("jib") {
41+
enabled = false
42+
}
43+
}
3944
jib {
4045
configureImages(
4146
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ dependencies {
3232

3333
// not publishing images to hubs in this configuration - local build only through jibDockerBuild
3434
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
35+
tasks {
36+
named("jib") {
37+
enabled = false
38+
}
39+
}
3540
jib {
3641
configureImages(
3742
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

appsignals-tests/images/http-servers/netty-server/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ repositories {
3838

3939
// not publishing images to hubs in this configuration - local build only through jibDockerBuild
4040
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
41+
tasks {
42+
named("jib") {
43+
enabled = false
44+
}
45+
}
4146
jib {
4247
configureImages(
4348
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

appsignals-tests/images/http-servers/spring-mvc/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ dependencies {
3434

3535
// not publishing images to hubs in this configuration - local build only through jibDockerBuild
3636
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
37+
tasks {
38+
named("jib") {
39+
enabled = false
40+
}
41+
}
3742
jib {
3843
configureImages(
3944
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",

0 commit comments

Comments
 (0)