File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
modules/jlink/tests/features Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ubi9/openjdk-11
2
+ @ubi9/openjdk-17
3
+ @ubi9/openjdk-21
4
+ Feature : Openshift OpenJDK S2I tests (jlink specific )
5
+ Scenario : Ensure jlinked builder is used to build the containerized application image
6
+ Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
7
+ | variable | value |
8
+ | S2I_ENABLE_JLINK | true |
9
+ | QUARKUS_PACKAGE_TYPE | uber -jar |
10
+ Then run ls /tmp/jre in container and check its output for bin
11
+
12
+ Scenario : Ensure S2I_ENABLE_JLINK is not set to true
13
+ Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
14
+ Then container log should not contain S2I_ENABLE_JLINK=true
15
+ And run bash -c "test ! -d /tmp/jre && echo PASS" in container and immediately check its output for PASS
You can’t perform that action at this time.
0 commit comments