From 75e6cfd125190d840ee6387198193e9b5ae53f5b Mon Sep 17 00:00:00 2001 From: Jan Schatteman Date: Wed, 7 Dec 2022 19:01:13 +0100 Subject: [PATCH] Add instructions for building the platform-tck persistence-tck zip Signed-off-by: Jan Schatteman --- ci/tck-readme.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ci/tck-readme.md diff --git a/ci/tck-readme.md b/ci/tck-readme.md new file mode 100644 index 0000000000..6ff079feed --- /dev/null +++ b/ci/tck-readme.md @@ -0,0 +1,19 @@ +Platform-tck build instructions +=============================== + +info: https://github.com/jakartaee/platform-tck/wiki/Instructions-for-building-and-running-JakartaEE-TCK-bundle + +* Clone https://github.com/jakartaee/platform-tck + +* Set env. variables: + * export WORKSPACE=/directory/where/jakartaee-tck/was/cloned + * export GF_BUNDLE_URL=https://ci.eclipse.org/jakartaee-tck/job/build-glassfish/lastSuccessfulBuild/artifact/appserver/distributions/glassfish/target/glassfish.zip + * export ANT_HOME=/path/to/apache-ant (1.10.5+) + * export JAVA_HOME=/path/to/jdk (11+) + * export PATH=$JAVA_HOME/bin:$ANT_HOME/bin/:$PATH + +* Run the following cmd from the root of the repo: + $WORKSPACE/docker/build_standalone-tcks.sh jpa + +* If all goes well, this should generate a zip file called persistence-tck-3.1.0_\.zip inside the $WORKSPACE/release/jpa_build/build_\/bundle/persistence-tck folder. This can then be used to build and run the hibernate jakarta-tck-runner image. +