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

Commit

Permalink
Update java-openliberty to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mezarin authored and elsony committed Dec 7, 2020
1 parent 0b0e734 commit 93cf476
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions devfiles/java-openliberty/devfile.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
schemaVersion: 2.0.0
metadata:
name: java-openliberty
version: 0.3.0
version: 0.4.0
description: Java application stack using Open Liberty runtime
alpha.build-dockerfile: "https://raw.githubusercontent.com/OpenLiberty/application-stack/master/outer-loop/0.3/Dockerfile"
alpha.deployment-manifest: "https://raw.githubusercontent.com/OpenLiberty/application-stack/master/outer-loop/0.3/app-deploy.yaml"
alpha.build-dockerfile: "https://github.com/OpenLiberty/application-stack/releases/download/outer-loop-0.4.0/Dockerfile"
alpha.deployment-manifest: "https://github.com/OpenLiberty/application-stack/releases/download/outer-loop-0.4.0/app-deploy.yaml"
starterProjects:
- name: user-app
git:
Expand All @@ -13,9 +13,8 @@ starterProjects:
components:
- name: devruntime
container:
# this custom image source can be found at:
# https://github.com/OpenLiberty/application-stack/tree/master/stackimage
image: openliberty/application-stack:0.3
# 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
image: openliberty/application-stack:0.4
memoryLimit: 1512Mi
mountSources: true
endpoints:
Expand All @@ -38,7 +37,7 @@ commands:
elif [[ -d /projects/target/liberty/wlp && ! -e /projects/.liberty-mv ]];
then echo "STACK WARNING - LIBERTY RUNTIME WAS LOADED FROM HOST";
fi
&& mvn -Dliberty.runtime.version=20.0.0.10 package
&& mvn -Dliberty.runtime.version=20.0.0.12 package
&& touch ./.disable-bld-cmd;
fi
workingDir: /projects
Expand All @@ -49,7 +48,7 @@ commands:
- id: run
exec:
component: devruntime
commandLine: mvn -Dliberty.runtime.version=20.0.0.10 -Ddebug=false -DhotTests=true -DcompileWait=3 liberty:dev
commandLine: mvn -Dliberty.runtime.version=20.0.0.12 -Ddebug=false -DhotTests=true -DcompileWait=3 liberty:dev
workingDir: /projects
hotReloadCapable: true
group:
Expand All @@ -58,7 +57,7 @@ commands:
- id: run-test-off
exec:
component: devruntime
commandLine: mvn -Dliberty.runtime.version=20.0.0.10 -Ddebug=false liberty:dev
commandLine: mvn -Dliberty.runtime.version=20.0.0.12 -Ddebug=false liberty:dev
workingDir: /projects
hotReloadCapable: true
group:
Expand All @@ -67,7 +66,7 @@ commands:
- id: debug
exec:
component: devruntime
commandLine: mvn -Dliberty.runtime.version=20.0.0.10 -DdebugPort=${DEBUG_PORT} liberty:dev -Dliberty.env.WLP_DEBUG_REMOTE=y
commandLine: mvn -Dliberty.runtime.version=20.0.0.12 -DdebugPort=${DEBUG_PORT} liberty:dev -Dliberty.env.WLP_DEBUG_REMOTE=y
workingDir: /projects
hotReloadCapable: true
group:
Expand All @@ -77,7 +76,7 @@ commands:
# The 'test' command requires an active container, so we don't need to specify the liberty runtime version
exec:
component: devruntime
commandLine: mvn -Dmicroshed_hostname=localhost -Dmicroshed_http_port=9080 -Dmicroshed_manual_env=true -Dmicroshed_app_context_root=/ failsafe:integration-test
commandLine: mvn -Dmicroshed_hostname=localhost -Dmicroshed_http_port=9080 -Dmicroshed_manual_env=true -Dmicroshed_app_context_root=/ failsafe:integration-test failsafe:verify
workingDir: /projects
hotReloadCapable: true
group:
Expand Down

0 comments on commit 93cf476

Please sign in to comment.