0

Google has a Cloud Run Emulator but the only documentation I can find binds it tightly to an IDE, mostly seems to be VSCode. It seems like a strange design decision and I don't want my whole team to need to use VSCode to test this.

https://cloud.google.com/code/docs/vscode/develop-service

Why did Google decide to have an IDE dependency for their emulator?

How do I get around this dependency?

Patrick Dougall
  • 346
  • 2
  • 12
  • It's likely I accept that I don't actually need to test through the emulator. It's still a strange move and I'm not a fan. If there's a good reason I'd like to know it. – Patrick Dougall Oct 16 '22 at 05:37

1 Answers1

2

The IDE is the preferred place for developer to create their code. VS Code and IntelliJ are the most popular and Google Cloud has focused its effort on them.

However, it's not mandatory to have an IDE to run a Cloud Run container on a K3S cluster. The command gcloud beta code dev, documentation here, allow you to achieve the same thing locally.

You have less visual functionalities and possibilities, but you can script your deployment, even your tests, locally with that command.

guillaume blaquiere
  • 66,369
  • 2
  • 47
  • 76