Use temporal.download server to download `temporalite` or `temporal-test-sever`
To add yet another test-server downloader
We have
https://temporal.downloadnow for downloading test server. Specificallyhttps://temporal.download/{artifact_name}/{version_name}where{artifact_name}istemporaliteortemporal-test-sever(i.e. the Java test server), and{version_name}isdefaultor a version name. You should also passplatform,arch,sdk-name, andsdk-versionquery parameters to this URL. The URL will provide the path to the archive and file in the archive for the binary.For example, https://temporal.download/temporal-test-server/default?platform=windows&arch=amd64&sdk-name=sdk-python&sdk-version=1.0.0 returns:
{"archiveUrl":"https://temporal.download/assets/temporalio/sdk-java/releases/download/v1.17.0/temporal-test-server_1.17.0_windows_amd64.zip","fileToExtract":"temporal-test-server_1.17.0_windows_amd64/temporal-test-server.exe"}You can see some logic that uses this at https://github.com/temporalio/sdk-core/blob/106b09f9db76bf3f7372de8da3f23e8194eecba1/core/src/ephemeral_server/mod.rs and https://github.com/temporalio/features/blob/ebc86a8ea07f029bee0d3f07fa841de31a07402c/harness/go/temporalite/temporalite.go#L119. We will be moving away from Temporalite of course. I suspect we will add "local server" (i.e. temporalite/temporal-cli) and "test server" (i.e. java test server) download-extract-run logic to the Go SDK in the near future. cc bergundy
Originally posted by cretz in https://github.com/temporalio/sdk-php/issues/280#issuecomment-1413704850