-
Notifications
You must be signed in to change notification settings - Fork 109
EE 11 Platform TCK testing with Podman
Scott Marlow edited this page Oct 15, 2024
·
12 revisions
podman run -it fedora /bin/bash
dnf install -y zip java-17-openjdk-devel wget vim git unzip maven tree
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk/
export PATH=/usr/lib/jvm/java-17-openjdk/bin:$PATH
mkdir /tmp/ee11
cd /tmp/ee11
git clone https://github.com/jakartaee/platform-tck
cd platform-tck
mvn clean install
cd glassfish-runner/jpa-platform-tck
mvn clean verify -Pstaging -Dts.home=$PWD/jakartaeetck 2>&1 | tee jpa.log
Assuming the Podman container is called gallant_shamir
which mine was randomly named, you could copy GlassFish server log + test output .jte file to your /tmp folder as follows:
` podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 31ad5b4d66ef registry.fedoraproject.org/fedora:latest /bin/bash 24 minutes ago Up 24 minutes competent_chatelet
podman cp competent_chatelet:/tmp/ee11/jakartaee-tck/glassfish-runner/jpa-platform-tck/jpa3.log jpa3.log `