Skip to content

Commit c3d3948

Browse files
committed
Update devfile test execution command and update OL Runtime to 20.0.0.12
Signed-off-by: Edward Mezarina <[email protected]>
1 parent e9dff7a commit c3d3948

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

build.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ BASE_OS_IMAGE="${BASE_OS_IMAGE:-adoptopenjdk/openjdk11-openj9:ubi}"
1313
#
1414
# Version of Open Liberty runtime to use within both inner and outer loops
1515
#
16-
OL_RUNTIME_VERSION="${OL_RUNTIME_VERSION:-20.0.0.11}"
16+
OL_RUNTIME_VERSION="${OL_RUNTIME_VERSION:-20.0.0.12}"
1717

1818
#
1919
# The Open Liberty base image used in the final stage of the outer loop Dockerfile used to build your application image from
2020
#
21-
OL_UBI_IMAGE="${OL_UBI_IMAGE:-openliberty/open-liberty:20.0.0.11-kernel-slim-java11-openj9-ubi}"
21+
OL_UBI_IMAGE="${OL_UBI_IMAGE:-openliberty/open-liberty:20.0.0.12-kernel-slim-java11-openj9-ubi}"
2222

2323
#
2424
# The name and tag of the "stack image you will build. This will used to create your inner loop development containers, and also as the base image for the first stage of your outer loop image build.
@@ -28,13 +28,14 @@ STACK_IMAGE="${STACK_IMAGE:-openliberty/application-stack:0.4}"
2828
#
2929
# URL at which your outer loop Dockerfile is hosted
3030
#
31-
DEVFILE_DOCKERFILE_LOC="${DEVFILE_DOCKERFILE_LOC:-https://github.com/OpenLiberty/application-stack/releases/download/outer-loop-0.4.0-rc.1/Dockerfile}"
31+
DEVFILE_DOCKERFILE_LOC="${DEVFILE_DOCKERFILE_LOC:-https://github.com/OpenLiberty/application-stack/releases/download/outer-loop-0.4.0/Dockerfile}"
3232

3333
#
3434
# URL at which your outer loop deploy YAML template is hosted
3535
#
36-
DEVFILE_DEPLOY_YAML_LOC="${DEVFILE_DEPLOY_YAML_LOC:-https://github.com/OpenLiberty/application-stack/releases/download/outer-loop-0.4.0-rc.1/app-deploy.yaml}"
36+
DEVFILE_DEPLOY_YAML_LOC="${DEVFILE_DEPLOY_YAML_LOC:-https://github.com/OpenLiberty/application-stack/releases/download/outer-loop-0.4.0/app-deploy.yaml}"
3737

38+
# Generates application stack artifacts.
3839
generate() {
3940
# Base customization.
4041
mkdir -p generated
@@ -45,8 +46,7 @@ generate() {
4546
sed -e "s!{{.STACK_IMAGE}}!$STACK_IMAGE!; s!{{.OL_UBI_IMAGE}}!$OL_UBI_IMAGE!" templates/outer-loop/Dockerfile > generated/Dockerfile
4647
}
4748

48-
49-
#set the action, default to generate if none passed.
49+
# Execute the specified action. The generate action is the default if none is specified.
5050
ACTION="generate"
5151
if [ $# -ge 1 ]; then
5252
ACTION=$1
@@ -57,7 +57,7 @@ case "${ACTION}" in
5757
generate
5858
;;
5959
*)
60-
echo "Invalid input action. Allowed values: generate. Default: generate."
60+
echo "Invalid input action. Allowed action values: generate. Default: generate."
6161
exit 1
6262
;;
6363
esac

templates/devfile.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
schemaVersion: 2.0.0
22
metadata:
33
name: java-openliberty
4-
version: 0.4.0-rc.1
4+
version: 0.4.0
55
description: Java application stack using Open Liberty runtime
66
alpha.build-dockerfile: "{{.DEVFILE_DOCKERFILE_LOC}}"
77
alpha.deployment-manifest: "{{.DEVFILE_DEPLOY_YAML_LOC}}"
@@ -76,7 +76,7 @@ commands:
7676
# The 'test' command requires an active container, so we don't need to specify the liberty runtime version
7777
exec:
7878
component: devruntime
79-
commandLine: mvn -Dmicroshed_hostname=localhost -Dmicroshed_http_port=9080 -Dmicroshed_manual_env=true -Dmicroshed_app_context_root=/ failsafe:integration-test
79+
commandLine: mvn -Dmicroshed_hostname=localhost -Dmicroshed_http_port=9080 -Dmicroshed_manual_env=true -Dmicroshed_app_context_root=/ failsafe:integration-test failsafe:verify
8080
workingDir: /projects
8181
hotReloadCapable: true
8282
group:

0 commit comments

Comments
 (0)