I would like to know the actual version for the nodejs10 runtime so I can use the same one on our local environments and build server.
Where can I find it?
Greetings @Aruku64-QPV,
Welcome to the Google Cloud Community!
It depends on what Node.js Runtime you are referring to.
In Cloud Functions, it supports the following Node.js runtimes:
In App Engine, The Node.js runtime supports:
The runtime uses the latest stable release of the version that is specified in the app.yaml file:
runtime: nodejsVERSION
Where VERSION is the Node.js major version number, for example 20
.
Let me know if it helped, thanks!
I can't find an app.yaml file (this is a project I inherited), but I assume it would be equivalent to the paramter runtime for the gcloud functions deploy command;
would it be safe to assume that the runtime nodesj10 on Cloud Functions is exactly v10.24.1 based on this https://nodejs.org/download/release/latest-v10.x/?
Is there a log or URL where I can see details of the runtime actually in use?
Like the architecture used or minor and patch version changes.
Thank you!
Where is your code running - Google App Engine, Cloud Run, Cloud Functions?
Cloud Functions.
Try gcloud functions describe command.
See documentation for the arguments to use
See an example here
Note: In your previous response, you talked about 'app.yaml' file. That's for Google App Engine
It only says nodejs10.