Support for Google Cloud Functions Emulator via "invoke local"
See original GitHub issueI’m testing my cloud functions locally with the Google Cloud Functions Emulator. But then I have to run the ‘native’ cloud functions commands like functions deploy helloWorld --trigger-http
every time, for every code-change, for each function, to ‘deploy’ it to the emulator.
Is it possible to deploy to the local emulator using the serverless framework?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:29
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Local Development | Cloud Functions Documentation
You can run functions locally using either Function Frameworks or Cloud Native buildpacks. Function Frameworks are open-source libraries used within Cloud ...
Read more >Run functions locally | Cloud Functions for Firebase - Google
Run functions locally ... The Firebase CLI includes a Cloud Functions emulator which can emulate the following function types: ... You can run...
Read more >Google Cloud Functions Tutorial : Using the Local Functions ...
The Local Functions Emulator is just that. It gives you a local service to which you can deploy your functions and test them...
Read more >How to run Google Cloud Functions locally when emulator is ...
Run your code using npx @google-cloud/functions-framework --target=helloWorld. While these are the cheat sheet notes, I strongly recommend ...
Read more >How to Develop and Test Your Google Cloud Function Locally
To develop the cloud function locally, we need to install the Functions Framework. The functions framework allows us to spin up a local...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @jpkleemans thanks for opening! 👍
Great suggestion. We’re already looking into ways to integrate the Cloud Functions Emulator into the plugin so that it can be used with the Frameworks
invoke local
command.For anyone interested, this is a great tool for local gcf: Coppa