File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
artifacts/opt/jboss/container/java/jlink
s2i/bash/artifacts/usr/local/s2i Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ jlink_techpreview_warning ()
2
+ {
3
+ {
4
+ echo " WARNING WARNING WARNING"
5
+ echo " Jlink integration is a Tech Preview feature!"
6
+ echo " See <https://access.redhat.com/support/offerings/techpreview/>"
7
+ echo " for more information."
8
+ echo " WARNING WARNING WARNING"
9
+ } >&2
10
+ }
11
+
1
12
jlink_preflight_check ()
2
13
{
3
14
# preflight check: do we have what we need?
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Scenario: Ensure jlinked builder is used to build the containerized application
7
7
| S2I_ENABLE_JLINK | true |
8
8
| QUARKUS_PACKAGE_TYPE | uber -jar |
9
9
Then run ls /tmp/jre in container and check its output for bin
10
+ And container log should contain Jlink integration is a Tech Preview feature.
10
11
11
12
Scenario : Ensure S2I_ENABLE_JLINK is not set to true
12
13
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ setup_java_app_and_lib
22
22
if [ " $S2I_ENABLE_JLINK " = " true" ]; then
23
23
24
24
source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /preflight.sh"
25
+ jlink_techpreview_warning
25
26
jlink_preflight_check
26
27
27
28
source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkdeps.sh"
You can’t perform that action at this time.
0 commit comments