OpenLiberty / guides-common

Common Guide files
Other
9 stars 6 forks source link

Test the guides with 22.0.0.7 GM candidate build #824

Closed gkwan-ibm closed 2 years ago

gkwan-ibm commented 2 years ago

Candidate build: cl220720220620-2217

Manual test the guides against GM with Semeru JDK 11:

Additional guides:

When completed:

Tests instructions:

uhryniuk commented 2 years ago

guide-mongodb-intro

Output from mvn liberty:dev from start directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Completed end-to-end, runs as expected.

guide-sessions

Output from docker build -t cart-app:1.0-SNAPSHOT .

=> CACHED [1/5] FROM docker.io/guidesbot/olguides:cl220720220620-2217

Output from kubectl apply -f https://raw.githubusercontent.com/hazelcast/hazelcast/master/kubernetes-rbac.yaml

clusterrole.rbac.authorization.k8s.io/hazelcast-cluster-role created
clusterrolebinding.rbac.authorization.k8s.io/hazelcast-cluster-role-binding created

Output from kubectl apply -f kubernetes.yaml:

deployment.apps/cart-deployment created
service/cart-service created

Output from kubectl get pods:

cart-deployment-cdfdf64f8-gbfs4   1/1     Running   
cart-deployment-cdfdf64f8-nhmh2   1/1     Running
cart-deployment-cdfdf64f8-rff4p   1/1     Running

Completed end-to-end, runs as expected.

shin19991207 commented 2 years ago

guide-microprofile-graphql

Output from docker build -t system:1.0-java8-SNAPSHOT --build-arg JAVA_VERSION=java8 system/.:

 => CACHED [1/4] FROM docker.io/guidesbot/olguides:cl220720220620-2217                                                                     0.0s

Output from docker build -t system:1.0-java11-SNAPSHOT --build-arg JAVA_VERSION=java11 system/.:

 => [1/4] FROM docker.io/guidesbot/olguides:cl220720220620-2217                                                                            0.0s

Output from docker build -t graphql:1.0-SNAPSHOT graphql/.:

 => CACHED [1/4] FROM docker.io/guidesbot/olguides:cl220720220620-2217                                                                     0.0s

Output from docker logs:

Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Ran guide on branch version-update-mp5 end-to-end, no issues.

guide-social-media-login

Output from mvn liberty:dev:

[INFO] Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Ran guide end-to-end, no issues.

guide-graphql-client

Output from docker build -t system:1.0-java8-SNAPSHOT --build-arg JAVA_VERSION=java8 system/.:

 => CACHED [1/4] FROM docker.io/guidesbot/olguides:cl220720220620-2217                                                                                     0.0s

Output from docker build -t system:1.0-java11-SNAPSHOT --build-arg JAVA_VERSION=java11 system/.:

 => [1/4] FROM docker.io/guidesbot/olguides:cl220720220620-2217                                                                                            0.0s

Output from docker build -t graphql:1.0-SNAPSHOT graphql/.:

 => CACHED [1/4] FROM docker.io/guidesbot/olguides:cl220720220620-2217                                                                                     0.0s

Output from docker build -t query:1.0-SNAPSHOT query/.:

 => CACHED [1/4] FROM docker.io/guidesbot/olguides:cl220720220620-2217                                                                                     0.0s

Output from docker logs:

Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Ran guide on version-update branch end-to-end, no issues.

rutavshah commented 2 years ago

guide-microprofile-reactive-messaging

Output from

docker build -t system:1.0-SNAPSHOT system/.
docker build -t inventory:1.0-SNAPSHOT inventory/.
[1/3] FROM docker.io/guidesbot/olguides:cl220720220620-2217
[1/3] FROM docker.io/guidesbot/olguides:cl220720220620-2217

Output from docker logs:

Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)
Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Ran guide end-to-end, no issues.

guide-jpa-intro

Output from mvn liberty:run from start/frontendUI directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.11+9 (en_US)

Output from mvn liberty:run from start/backendServices directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.11+9 (en_US)

Ran guide end-to-end, no issues.

t27gupta commented 2 years ago

guide-kubernetes-microprofile-config

Output from docker build -t system:1.0-SNAPSHOT system/.:

=> [1/4] FROM [docker.io/guidesbot/olguides:cl220720220620-2217@sha256](http://docker.io/guidesbot/olguides:cl220720220620-2217@sha256)

Output from docker build -t inventory:1.0-SNAPSHOT inventory/.:

=> CACHED [1/4] FROM [docker.io/guidesbot/olguides:cl220720220620-2217@sha256](http://docker.io/guidesbot/olguides:cl220720220620-2217@sha256)

Output from docker logs <inventory-container-id>:

Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Output from docker logs <system-container-id>:

Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Ran guide end-to-end no issues.

guide-microprofile-jwt

Output from mvn liberty:run from start/frontend directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.13+8 (en_US)

Output from mvn liberty:run from start/system directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.7/wlp-1.0.66.cl220720220620-2217) on Eclipse OpenJ9 VM, version 11.0.13+8 (en_US)

Application worked as expected

gkwan-ibm commented 2 years ago

close