dweiss commented on issue #13107:
URL: https://github.com/apache/lucene/issues/13107#issuecomment-1948515415

   So, here's what I managed to do so far. I've set up a simple gh workflow 
that can be triggered manually and provided with a release candidate to verify 
- here's what it looks like:
   
   
![image](https://github.com/apache/lucene/assets/199470/38a8b82d-1153-4dba-9266-413491e0f855)
   
   the workflow runs a matrix test against an array of JDKs: 11, 17, 21, 22-ea, 
automatically fetching the latest version of these (temurin distribution). A 
parameter allows one to turn off the tests (I'm not sure how long they'd take 
on github - was afraid to check...).
   
   Interestingly, I didn't have to touch the smoke tester at all as it already 
allows passing parameters to gradle, so I:
   * skipped all the tests by passing a filtering condition pointing at a 
non-existing test group,
   * compile and test against the matrix's java distribution using the existing 
runtime.java.home parameter we already have. I didn't modify the smoke tester 
so it reports that it runs gradle against Java 11, but reading the code I think 
it does the right thing and runs it against the provided Java version.
   
   Here is the whole workflow definition - 
   
https://raw.githubusercontent.com/dweiss/lucene/main/.github/workflows/run-smoketester.yml
   
   And here's a run I made to confirm it's working:
   https://github.com/dweiss/lucene/actions/runs/7932039311
   
   note each run against a different JVM, including 22-ea, the logs confirming 
this:
   
![image](https://github.com/apache/lucene/assets/199470/85a682bc-4b2f-4c15-bb6b-cf95b8f03ca1)
   
   The execution times are not bad at all - ~10 minutes per job and they're 
mostly in parallel, so no big deal I think.
   
   From here, I think it's a short walk to making a workflow that builds the 
distribution first, uploads it as an artifact which is then consumed by a job 
verifying the smoke tester against all the JVMs in question... unfortunately I 
won't be able to work on this the following week so if somebody wishes to take 
over and try, please go ahead.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to