wildfly / wildfly-tck-runners

Test runners for executing various TCKs against a WildFly runtime
Apache License 2.0
1 stars 7 forks source link

Allow the latest version of WildFly to be downloaded for the Jakarta Core Profile TCK #67

Open jamezp opened 1 year ago

jamezp commented 1 year ago

There should be a profile added which downloads the latest successful version of WildFly from CI for testing the Jakarta Core Profile TCK. This would need to download the ZIP from https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastSuccessful/wildfly-latest-SNAPSHOT.zip, unzip it, then unzip the WildFly ZIP within that. In the GitHub CI job it looks something like this:

wget https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastSuccessful/wildfly-latest-SNAPSHOT.zip -O wildfly-download.zip
unzip wildfly-download.zip
rm -rfv wildfly*-src.zip wildfly-download.zip
unzip wildfly-*.zip
rm -rfv wildfly-*.zip
JBOSS_HOME="$(readlink -m wildfly-*)"

It might be a little more work to get this working in Maven. Another option might be to just simply add a bash script to the source which does this.