Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run on local AppEngine #1000

Open
Burtan opened this issue Aug 21, 2022 · 4 comments
Open

Run on local AppEngine #1000

Burtan opened this issue Aug 21, 2022 · 4 comments
Labels

Comments

@Burtan
Copy link

Burtan commented Aug 21, 2022

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.

@elefeint
Copy link
Contributor

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

Do you need emulators beyond those?

@Burtan
Copy link
Author

Burtan commented Aug 22, 2022

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.

@elefeint
Copy link
Contributor

@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.

@Burtan
Copy link
Author

Burtan commented Jan 7, 2023

Any news on this?

@lqiu96 lqiu96 removed the p3 label Jun 29, 2023
@JoeWang1127 JoeWang1127 transferred this issue from GoogleCloudPlatform/app-gradle-plugin Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants