appengine-plugins icon indicating copy to clipboard operation
appengine-plugins copied to clipboard

Run on local AppEngine

Open Burtan opened this issue 3 years ago • 6 comments

Hey,

please add a task that uses the cloud tools emulators to run the project on your local computer. You could make some tasks to start them yourself, but I didn't find an easy way yet to get the environment variables into the gradle run task yet, besides copying them manually which is cumbersome as the ports vary.

Burtan avatar Aug 21 '22 18:08 Burtan

The plugin's appengineRun task launches the local dev server, which includes some built-in emulators.

Do you need emulators beyond those?

elefeint avatar Aug 22 '22 14:08 elefeint

Hi, sorry I didn't specify the environment enough.

When using app engine standard for java 11 there is no appengineRun task. I guess it is only for the old java 8 runtime. That's why you need the new beta emulators from gcloud.

Burtan avatar Aug 22 '22 15:08 Burtan

@ludoch Is there a recommended way to use emulators in the newer AppEngine runtimes?

One way would be to take advantage of the testcontainers gcloud project.

elefeint avatar Aug 23 '22 14:08 elefeint

Any news on this?

Burtan avatar Jan 07 '23 20:01 Burtan

Bringing it to p3 label as this is not resolved.

suztomo avatar May 21 '24 14:05 suztomo