You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: functions-python/README.md
+90-10Lines changed: 90 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,8 @@ The function configuration file contains the following properties:
22
22
-`timeout`: The timeout of the function in seconds. The default value is 60 seconds.
23
23
-`memory`: The memory of the function in MB. The default value is 128 MB.
24
24
-`trigger_http`: A boolean value that indicates if the function is triggered by an HTTP request. The default value is `false`.
25
-
-`include_folders`: A list of folders to be included in the function zip. By default, the function zip will include all the files in the function folder.
25
+
-`include_folders`: A list of folders from functions-python to be included in the function zip. By default, the function zip will include all the files in the function folder.
26
+
-`include_api_folders`: A list of folders from the api folder to be included in the function zip. By default, the function zip will include all the files in the function folder.
26
27
-`secret_environment_variables`: A list of objects, each representing a secret environment variable. These are securely used within the function. Each object should include:
27
28
-`key`: The name of the environment variable as used in the function, acting as the secret's identifier.
28
29
-`secret`[Optional]: The specific GCP secret to be used. If omitted, a default secret name is generated using the environment prefix (`DEV`, `QA`, or `PROD`) followed by an underscore and the `key` value. For example, if `key` is `api_key` in the `DEV` environment, the default secret name is `DEV_api_key`.
@@ -33,6 +34,13 @@ The function configuration file contains the following properties:
33
34
-`available_cpu_count`: The number of CPU cores that are available to the function.
34
35
-`available_memory`: The amount of memory available to the function.
35
36
37
+
# Test configuration(test_config.json)
38
+
Some folders in functions-python are not destined to be deployed functions but are in support for other functions (e.g. helpers)m
39
+
Some of these folders contain tests and the `test_config.json` file is used to configure the tests.
40
+
The test configuration file contains the following properties:
41
+
-`include_folders`: A list of folders from functions-python used in the tests.
42
+
-`include_api_folders`: A list of folders from the api folder to be included in the tests.
0 commit comments