Skip to content

Commit 64d163a

Browse files
committed
gcp
1 parent da6612c commit 64d163a

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

samples/.gcloudignore renamed to .gcloudignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,12 @@
44
# obj directories) may be uploaded.
55

66
.gcloudignore
7+
8+
.git/
9+
.github/
10+
.vs/
11+
src/
12+
tests/
13+
714
bin/
815
obj/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dotnet run https://commandquerysampleaspnetcore.azurewebsites.net/api
22
dotnet run https://u3rkew3obh.execute-api.eu-central-1.amazonaws.com/Prod
33
dotnet run https://commandquerysampleazurefunctions.azurewebsites.net/api
4-
dotnet run https://us-central1-solid-antler-215713.cloudfunctions.net/commandquery-sample-googlecloudfunctions-command/api/command/ https://us-central1-solid-antler-215713.cloudfunctions.net/commandquery-sample-googlecloudfunctions-query/api/query/
4+
dotnet run https://europe-north1-solid-antler-215713.cloudfunctions.net/commandquery-sample-googlecloudfunctions-command/api/command/ https://europe-north1-solid-antler-215713.cloudfunctions.net/commandquery-sample-googlecloudfunctions-query/api/query/

samples/CommandQuery.Sample.GoogleCloudFunctions.Tests/CommandQuery.Sample.GoogleCloudFunctions.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

samples/CommandQuery.Sample.GoogleCloudFunctions/CommandQuery.Sample.GoogleCloudFunctions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
cd ..
1+
:: Deploy from the root directory
2+
cd ..\..
23

3-
CMD /C gcloud functions deploy commandquery-sample-googlecloudfunctions-command --runtime dotnet8 --trigger-http --entry-point=CommandQuery.Sample.GoogleCloudFunctions.Command --set-build-env-vars=GOOGLE_BUILDABLE=CommandQuery.Sample.GoogleCloudFunctions
4-
CMD /C gcloud functions deploy commandquery-sample-googlecloudfunctions-query --runtime dotnet8 --trigger-http --entry-point=CommandQuery.Sample.GoogleCloudFunctions.Query --set-build-env-vars=GOOGLE_BUILDABLE=CommandQuery.Sample.GoogleCloudFunctions
4+
CMD /C gcloud functions deploy commandquery-sample-googlecloudfunctions-command --gen2 --region=europe-north1 --runtime=dotnet8 --trigger-http --entry-point=CommandQuery.Sample.GoogleCloudFunctions.Command --set-build-env-vars=GOOGLE_BUILDABLE=samples/CommandQuery.Sample.GoogleCloudFunctions
5+
CMD /C gcloud functions deploy commandquery-sample-googlecloudfunctions-query --gen2 --region=europe-north1 --runtime=dotnet8 --trigger-http --entry-point=CommandQuery.Sample.GoogleCloudFunctions.Query --set-build-env-vars=GOOGLE_BUILDABLE=samples/CommandQuery.Sample.GoogleCloudFunctions
56

6-
cd CommandQuery.Sample.GoogleCloudFunctions
7+
cd samples\CommandQuery.Sample.GoogleCloudFunctions

0 commit comments

Comments
 (0)