Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
restore jib version
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjii79 committed Jan 25, 2024
1 parent d58f140 commit 3ad6ff0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aws-sagemaker-hosted-scorer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jib {
}
}
container {
jvmFlags = ["-Dmojo.path=/mojos/pipeline.mojo", "--add-opens", "java.base/java.lang=ALL-UNNAMED", "--add-opens", "java.base/java.util=ALL-UNNAMED", "--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED"]
jvmFlags = defaultJibContainerJvmFlags.split(" ").each { it.trim() }
ports = ['8080']
volumes = [
// mojo pipeline and license file will live here
Expand Down
2 changes: 1 addition & 1 deletion gcp-cloud-run/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jib {
}
}
container {
jvmFlags = ["-Dmojo.path=/mojos/pipeline.mojo", "--add-opens", "java.base/java.lang=ALL-UNNAMED", "--add-opens", "java.base/java.util=ALL-UNNAMED", "--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED"]
jvmFlags = defaultJibContainerJvmFlags.split(" ").each { it.trim() }
ports = ['8080']
environment = [
// The expected path to the DAI license file.
Expand Down
2 changes: 1 addition & 1 deletion gcp-vertex-ai-mojo-scorer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jib {
}
}
container {
jvmFlags = ["-Dmojo.path=/mojos/pipeline.mojo", "--add-opens", "java.base/java.lang=ALL-UNNAMED", "--add-opens", "java.base/java.util=ALL-UNNAMED", "--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED"]
jvmFlags = defaultJibContainerJvmFlags.split(" ").each { it.trim() }
ports = ['8080']
environment = [
// The expected path to the DAI license file.
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tomcatVersion = 9.0.75
springBootPluginVersion = 3.2.0
swaggerGradlePluginVersion = 2.19.2
errorpronePluginVersion = 3.1.0
jibPluginVersion = 3.4.0
jibPluginVersion = 2.7.1
openApiGeneratorGradlePluginVersion = 7.0.1

# External tools:
Expand Down
2 changes: 1 addition & 1 deletion local-rest-scorer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jib {
}
}
container {
jvmFlags = ["-Dmojo.path=/mojos/pipeline.mojo", "--add-opens", "java.base/java.lang=ALL-UNNAMED", "--add-opens", "java.base/java.util=ALL-UNNAMED", "--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED"]
jvmFlags = defaultJibContainerJvmFlags.split(" ").each { it.trim() }
ports = ['8080']
volumes = [
// For storing the mojo2 file with the model to be used for scoring.
Expand Down

0 comments on commit 3ad6ff0

Please sign in to comment.