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: .github/workflows/buildpack-integration-test.yml
+28-9Lines changed: 28 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,16 @@ on:
22
22
description: GCF runtime (e.g. 'go116')
23
23
type: string
24
24
required: true
25
+
builder-runtime-version:
26
+
description: GCF runtime version (e.g. 3.7.0 for python37 runtime or 1.16 for go116)
27
+
type: string
28
+
default: ''
29
+
required: false
30
+
builder-url:
31
+
description: Builder image including builder tag to use while building. (e.g. gcr.io/gae-runtimes/buildpacks/go/builder:latest or gcr.io/buildpacks/builder:latest )
32
+
type: string
33
+
default: ''
34
+
required: false
25
35
event-builder-source:
26
36
description: Background function source; relative to repo root
27
37
type: string
@@ -61,7 +71,7 @@ on:
61
71
# breaking changes
62
72
description: Conformance GitHub Actions version by git ref
63
73
type: string
64
-
default: 'master'
74
+
default: 'main'
65
75
required: false
66
76
jobs:
67
77
# Download and cache the Functions Framework conformance test client
If there are validation errors, an error will be logged in the output, causing your conformance test to fail.
63
76
@@ -68,15 +81,19 @@ Frameworks to the Functions Framework contract.
68
81
| Configuration flag | Type | Default | Description |
69
82
| --- | --- | --- | --- |
70
83
|`-cmd`| string |`"''"`| A string with the command to run a Functions Framework server at `localhost:8080`. Must be wrapped in quotes. Ignored if`-buildpacks=true`. |
71
-
|`-type`| string |`"http"`| Type of functionto validate (must be `"http"`, `"cloudevent"`, or `"legacyevent"`). |
84
+
|`-type`| string |`"http"`| The functionsignature to use (must be `"http"`, `"cloudevent"`, or `"legacyevent"`). |
85
+
|`-declarative-type`| string |`""`| The declarative signature type of the function(must be 'http', 'cloudevent', 'legacyevent', or 'typed'), default matches -type |
72
86
|`-validate-mapping`| boolean |`true`| Whether to validate mapping from legacy->cloud events and vice versa (as applicable). |
73
87
|`-output-file`| string |`"function_output.json"`| Name of file output by function. |
74
88
|`-buildpacks`| boolean |`true`| Whether to use the current release of buildpacks to run the validation. If `true`, `-cmd` is ignored and `--builder-*` flags must be set. |
75
89
|`-builder-source`| string |`""`| Function source directory to use in building. Required if`-buildpacks=true`. |
76
90
|`-builder-target`| string |`""`| Function target to use in building. Required if`-buildpacks=true`. |
77
91
|`-builder-runtime`| string |`""`| Runtime to use in building. Required if`-buildpacks=true`. |
78
-
|`-builder-tag`| string |`"latest"`| Builder image tag to use in building. |
92
+
|`-builder-runtime-version`| string |`""`| Runtime version used while building. Buildpack will use the latest version if flag is not specified. |
93
+
|`-builder-tag`| string |`"latest"`| Builder image tag to use in building. Ignored if`-builder-url` is specified. |
94
+
|`-builder-url`| string |`""`| Builder image url to use in building including tag. Client defaults to `gcr.io/gae-runtimes/buildpacks/<language>/builder:<builder-tag>`if none is specified. |
79
95
|`-start-delay`| uint |`1`| Seconds to wait before sending HTTP request to command process. |
96
+
|`-envs`| string |`""`| A comma separated string of additional runtime environment variables. |
0 commit comments