Skip to content

Commit 8ccefd0

Browse files
committed
docs: Clarify GOOGLE_BUILDABLE meaning
This was from feedback in https://stackoverflow.com/questions/78293590
1 parent dcbcfa0 commit 8ccefd0

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

docs/deployment.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,12 @@ from that top-level directory instead of from the function's project
134134
directory. You also need to use the `--set-build-env-vars` command
135135
line flag to specify the `GOOGLE_BUILDABLE` build-time environment
136136
variable. This tells the Google Cloud Functions deployment process
137-
which project to build and deploy. Note that the `GOOGLE_BUILDABLE`
138-
environment variable value is case-sensitive, and should match the
139-
directory and file names used.
137+
the path to the project to build and deploy. Note that the
138+
`GOOGLE_BUILDABLE` environment variable value is case-sensitive,
139+
and should match the directory and file names used. Additionally,
140+
note that the value is the path to the project, *not* a .NET assembly
141+
name or namespace. (In many cases these will be the same, but not
142+
always.)
140143

141144
When deploying a function with multiple projects, it's important to
142145
make sure you have a suitable

docs/examples.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,9 @@ This uses the [.gcloudignore
474474
file in the examples directory](../examples/.gcloudignore) to avoid uploading already-built
475475
binaries.
476476

477-
Note that the ability to set build environment variables is currently in beta.
477+
Note that the `GOOGLE_BUILDABLE` value is a path to the relevant
478+
project; in this case it just happens to be the name of the resulting
479+
assembly.
478480

479481
## LocalNuGetPackageFunction and LocalNuGetPackageCode
480482

0 commit comments

Comments
 (0)