-
Notifications
You must be signed in to change notification settings - Fork 691
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make jar_app_layer._classpath_as_file public (#1947)
* Rename jar_app_layer._classpath_as_file to classpath_as_file This is being done to make this attribute public so that callers can specify it. * Add classpath_as_file as argument to java_image * Add classpath_as_file as argument to groovy_image * Add classpath_as_file as argument to kt_jvm_image * Add classpath_as_file as argument to scala_image * Adds test for scala_image with classpath_as_file=True * Adds test for java_image with classpath_as_file = True * Adds test for groovy_image with classpath_as_file = True * Adds test for kt_jvm_image with classpath_as_file = True * Ignore new image tests under macos * Trigger build * Trigger build
- Loading branch information
Showing
13 changed files
with
157 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/container/groovy/configs/groovy_classpath_as_file_image.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
schemaVersion: 2.0.0 | ||
|
||
metadataTest: | ||
entrypoint: [ | ||
'/usr/bin/java', | ||
'-cp', | ||
'@/app/io_bazel_rules_docker/tests/container/groovy/groovy_classpath_as_file_image.classpath', | ||
'-Dbuild.location=tests/container/groovy/BUILD', | ||
'examples.images.Binary', | ||
'arg0', | ||
'arg1', | ||
'tests/container/groovy/BUILD', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/container/java/configs/java_classpath_as_file_image.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
schemaVersion: 2.0.0 | ||
|
||
metadataTest: | ||
env: | ||
- key: JAVA_RUNFILES | ||
value: "/app" | ||
entrypoint: [ | ||
'/usr/bin/java', | ||
'-cp', | ||
'@/app/io_bazel_rules_docker/tests/container/java/java_classpath_as_file_image.classpath', | ||
'-Dbuild.location=tests/container/java/BUILD', | ||
'examples.images.Binary', | ||
'arg0', | ||
'arg1', | ||
'tests/container/java/BUILD'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/container/kotlin/configs/kt_jvm_classpath_as_file_image.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
schemaVersion: 2.0.0 | ||
|
||
metadataTest: | ||
entrypoint: [ | ||
'/usr/bin/java', | ||
'-cp', | ||
'@/app/io_bazel_rules_docker/tests/container/kotlin/kt_jvm_classpath_as_file_image.classpath', | ||
'-Dbuild.location=tests/container/kotlin/BUILD', | ||
'examples.images.Binary', | ||
'arg0', | ||
'arg1', | ||
'tests/container/kotlin/BUILD', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/container/scala/configs/scala_classpath_as_file_image.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
schemaVersion: 2.0.0 | ||
|
||
metadataTest: | ||
entrypoint: [ | ||
'/usr/bin/java', | ||
'-cp', | ||
'@/app/io_bazel_rules_docker/tests/container/scala/scala_classpath_as_file_image.classpath', | ||
'-Dbuild.location=tests/container/scala/BUILD', | ||
'examples.images.Binary', | ||
'arg0', | ||
'arg1', | ||
'tests/container/scala/BUILD', | ||
] |