From f3331232858f74818825df1849bde7f5a089ce04 Mon Sep 17 00:00:00 2001 From: Srinjoy Ray Date: Tue, 28 Oct 2025 08:26:37 +0000 Subject: [PATCH 1/2] Update quickstart samples to Nodejs24 --- appengine/building-an-app/build/.gcloudignore | 17 +++++++++++++++++ appengine/building-an-app/build/app.yaml | 2 +- appengine/building-an-app/build/package.json | 2 +- appengine/hello-world/flexible/app.yaml | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 appengine/building-an-app/build/.gcloudignore diff --git a/appengine/building-an-app/build/.gcloudignore b/appengine/building-an-app/build/.gcloudignore new file mode 100644 index 0000000000..4d7d6938ef --- /dev/null +++ b/appengine/building-an-app/build/.gcloudignore @@ -0,0 +1,17 @@ +# This file specifies files that are *not* uploaded to Google Cloud +# using gcloud. It follows the same syntax as .gitignore, with the addition of +# "#!include" directives (which insert the entries of the given .gitignore-style +# file at that point). +# +# For more information, run: +# $ gcloud topic gcloudignore +# +.gcloudignore +# If you would like to upload your .git directory, .gitignore file or files +# from your .gitignore file, remove the corresponding line +# below: +.git +.gitignore + +# Node.js dependencies: +node_modules/ \ No newline at end of file diff --git a/appengine/building-an-app/build/app.yaml b/appengine/building-an-app/build/app.yaml index e865ee3bab..8896d06b25 100755 --- a/appengine/building-an-app/build/app.yaml +++ b/appengine/building-an-app/build/app.yaml @@ -12,5 +12,5 @@ # limitations under the License. # [START gae_build_app_yaml_node] -runtime: nodejs20 +runtime: nodejs24 # [END gae_build_app_yaml_node] diff --git a/appengine/building-an-app/build/package.json b/appengine/building-an-app/build/package.json index 1e1e483490..e73a78d1b2 100644 --- a/appengine/building-an-app/build/package.json +++ b/appengine/building-an-app/build/package.json @@ -14,7 +14,7 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": "20.x.x" + "node": "24.x.x" }, "author": "Google Inc.", "license": "Apache-2.0", diff --git a/appengine/hello-world/flexible/app.yaml b/appengine/hello-world/flexible/app.yaml index 5be91b6d06..e1253e2a89 100644 --- a/appengine/hello-world/flexible/app.yaml +++ b/appengine/hello-world/flexible/app.yaml @@ -16,7 +16,7 @@ runtime: nodejs env: flex runtime_config: - operating_system: ubuntu22 + operating_system: ubuntu24 # This sample incurs costs to run on the App Engine flexible environment. # The settings below are to reduce costs during testing and are not appropriate # for production use. For more information, see: From eaa643e2213dc14c267cd8b27d5f0c17327e477d Mon Sep 17 00:00:00 2001 From: Srinjoy Ray <76090006+srinjoyray@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:43:26 +0530 Subject: [PATCH 2/2] Delete appengine/building-an-app/build/.gcloudignore --- appengine/building-an-app/build/.gcloudignore | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 appengine/building-an-app/build/.gcloudignore diff --git a/appengine/building-an-app/build/.gcloudignore b/appengine/building-an-app/build/.gcloudignore deleted file mode 100644 index 4d7d6938ef..0000000000 --- a/appengine/building-an-app/build/.gcloudignore +++ /dev/null @@ -1,17 +0,0 @@ -# This file specifies files that are *not* uploaded to Google Cloud -# using gcloud. It follows the same syntax as .gitignore, with the addition of -# "#!include" directives (which insert the entries of the given .gitignore-style -# file at that point). -# -# For more information, run: -# $ gcloud topic gcloudignore -# -.gcloudignore -# If you would like to upload your .git directory, .gitignore file or files -# from your .gitignore file, remove the corresponding line -# below: -.git -.gitignore - -# Node.js dependencies: -node_modules/ \ No newline at end of file