Skip to content

Latest commit

 

History

History

hello-gcs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

.NET: Cloud Run - hello-gcs

A Cloud Storage triggered .NET Cloud Run template.

Test locally

Run locally:

dotnet run

...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://0.0.0.0:8080

Inside the scripts folder, run test_local.sh to test locally:

./test_local.sh

< HTTP/1.1 200 OK

Before deploying to Google Cloud

Run setup.sh to enable required services:

./setup.sh

Deploy to Google Cloud

Run deploy.sh to deploy to Google Cloud:

./deploy.sh

Test in Google Cloud

Run test_cloud.sh to test the service in Google Cloud:

./test_cloud.sh

Cleanup

When you're done, you can cleanup created resources:

./cleanup.sh