elasticsearch/build-tools
Jake Landis 20ed7e3fd9
Better support for multi cluster for run task (#89442)
This commit introduces a `./gradlew run-ccs` task with the following goals:
* mirror the ease of use of `./gradlew run` for manual cross cluster search development
  * same credentials
  * same well known ports
  * uses ccs specific naming
  * enable debugging across both clusters

This is admittedly kinda hacky. Test clusters have support multi-cluster and are in use for 
 for automated testing. There are some nuances that make that setup (and this setup) 
a bit cumbersome..specifically needing to read one cluster's config to configure another cluster. 

The run task adds a bit more config (well defined ports, etc.) than the tests need to 
so that also complicates this abit more. I found that without the additions here I was unable to get both 
sharing of cluster configuration (like in the [tests](https://github.com/elastic/elasticsearch/blob/main/qa/ccs-common-rest/build.gradle#L55)) 
and the run task's hard coded config to work well together. Hopefully the additions to the run task are not
too hacky as I could not find any other way.
2022-08-18 12:54:03 -05:00
..
reaper Further attempt at capturing reaper error logs 2022-08-02 14:47:53 -07:00
src Better support for multi cluster for run task (#89442) 2022-08-18 12:54:03 -05:00
build.gradle Remove random runner from build tools (internal) tests (#88577) 2022-07-20 08:04:26 +02:00
settings.gradle Port build dependencies to gradle version catalogue (#86548) 2022-05-10 12:15:36 +02:00