Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.

Commit 93cf476

Browse files
mezarinelsony
authored andcommitted
Update java-openliberty to v0.4.0
1 parent 0b0e734 commit 93cf476

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

devfiles/java-openliberty/devfile.yaml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
schemaVersion: 2.0.0
22
metadata:
33
name: java-openliberty
4-
version: 0.3.0
4+
version: 0.4.0
55
description: Java application stack using Open Liberty runtime
6-
alpha.build-dockerfile: "https://raw.githubusercontent.com/OpenLiberty/application-stack/master/outer-loop/0.3/Dockerfile"
7-
alpha.deployment-manifest: "https://raw.githubusercontent.com/OpenLiberty/application-stack/master/outer-loop/0.3/app-deploy.yaml"
6+
alpha.build-dockerfile: "https://github.com/OpenLiberty/application-stack/releases/download/outer-loop-0.4.0/Dockerfile"
7+
alpha.deployment-manifest: "https://github.com/OpenLiberty/application-stack/releases/download/outer-loop-0.4.0/app-deploy.yaml"
88
starterProjects:
99
- name: user-app
1010
git:
@@ -13,9 +13,8 @@ starterProjects:
1313
components:
1414
- name: devruntime
1515
container:
16-
# this custom image source can be found at:
17-
# https://github.com/OpenLiberty/application-stack/tree/master/stackimage
18-
image: openliberty/application-stack:0.3
16+
# In the original upstream of this devfile, the image used is openliberty/application-stack:<x.y.z>, which is built from the repository: https://github.com/OpenLiberty/application-stack
17+
image: openliberty/application-stack:0.4
1918
memoryLimit: 1512Mi
2019
mountSources: true
2120
endpoints:
@@ -38,7 +37,7 @@ commands:
3837
elif [[ -d /projects/target/liberty/wlp && ! -e /projects/.liberty-mv ]];
3938
then echo "STACK WARNING - LIBERTY RUNTIME WAS LOADED FROM HOST";
4039
fi
41-
&& mvn -Dliberty.runtime.version=20.0.0.10 package
40+
&& mvn -Dliberty.runtime.version=20.0.0.12 package
4241
&& touch ./.disable-bld-cmd;
4342
fi
4443
workingDir: /projects
@@ -49,7 +48,7 @@ commands:
4948
- id: run
5049
exec:
5150
component: devruntime
52-
commandLine: mvn -Dliberty.runtime.version=20.0.0.10 -Ddebug=false -DhotTests=true -DcompileWait=3 liberty:dev
51+
commandLine: mvn -Dliberty.runtime.version=20.0.0.12 -Ddebug=false -DhotTests=true -DcompileWait=3 liberty:dev
5352
workingDir: /projects
5453
hotReloadCapable: true
5554
group:
@@ -58,7 +57,7 @@ commands:
5857
- id: run-test-off
5958
exec:
6059
component: devruntime
61-
commandLine: mvn -Dliberty.runtime.version=20.0.0.10 -Ddebug=false liberty:dev
60+
commandLine: mvn -Dliberty.runtime.version=20.0.0.12 -Ddebug=false liberty:dev
6261
workingDir: /projects
6362
hotReloadCapable: true
6463
group:
@@ -67,7 +66,7 @@ commands:
6766
- id: debug
6867
exec:
6968
component: devruntime
70-
commandLine: mvn -Dliberty.runtime.version=20.0.0.10 -DdebugPort=${DEBUG_PORT} liberty:dev -Dliberty.env.WLP_DEBUG_REMOTE=y
69+
commandLine: mvn -Dliberty.runtime.version=20.0.0.12 -DdebugPort=${DEBUG_PORT} liberty:dev -Dliberty.env.WLP_DEBUG_REMOTE=y
7170
workingDir: /projects
7271
hotReloadCapable: true
7372
group:
@@ -77,7 +76,7 @@ commands:
7776
# The 'test' command requires an active container, so we don't need to specify the liberty runtime version
7877
exec:
7978
component: devruntime
80-
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
8180
workingDir: /projects
8281
hotReloadCapable: true
8382
group:

0 commit comments

Comments
 (0)