Skip to content

Commit

Permalink
Fix jib build error in contract tests (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaurushGarg authored Nov 15, 2023
1 parent 862695e commit 5180afe
Show file tree
Hide file tree
Showing 15 changed files with 75 additions and 4 deletions.
6 changes: 5 additions & 1 deletion appsignals-tests/images/aws-sdk/aws-sdk-v1/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
6 changes: 5 additions & 1 deletion appsignals-tests/images/aws-sdk/aws-sdk-v2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
6 changes: 5 additions & 1 deletion appsignals-tests/images/grpc/grpc-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ dependencies {

runtimeOnly("io.grpc:grpc-netty-shaded")
}

tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
6 changes: 5 additions & 1 deletion appsignals-tests/images/grpc/grpc-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ dependencies {
application {
mainClass.set("software.amazon.opentelemetry.EchoerServer")
}

tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ java {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ java {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ java {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ dependencies {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ repositories {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ dependencies {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
5 changes: 5 additions & 0 deletions appsignals-tests/images/http-servers/tomcat/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ dependencies {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
5 changes: 5 additions & 0 deletions appsignals-tests/images/jdbc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ dependencies {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ tasks.getByName<Test>("test") {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ tasks.getByName<Test>("test") {

// not publishing images to hubs in this configuration - local build only through jibDockerBuild
// if localDocker property is set to true then the image will only be pulled from Docker Daemon
tasks {
named("jib") {
enabled = false
}
}
jib {
configureImages(
"public.ecr.aws/docker/library/amazoncorretto:17-alpine",
Expand Down
5 changes: 5 additions & 0 deletions appsignals-tests/images/mock-collector/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ dependencies {

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

0 comments on commit 5180afe

Please sign in to comment.