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
* refactor python http template
* python http scaffolding
* add python to make update-runtimes
* integrate python scaffolding with func run
* python http template
* reorganize python scaffolding
* cancellation stopgap
* documentation and logging cleanup
* Python Middleware v2 - Scaffolding
* base layer cache
* remove wsgi and flask templates
Inbuilt templates should be limited to a base http and cloudevent
integration, with anything beyond this falling to the officially
supported functions samples repository.
* update python cloudevents runtime in makefile
* python cloudevents middleware
* add python .venvs to gitignore
* clean up venvs on make
* add missing dependencies to python http tempklate
* set python cloudevents manifest
* further cleanup of repository impl
* cleanup
* ignore venv when building runtime container
* set listen address on python container
* remove unnecessary python runtime update from makefile
* remove debug statements and improved comments
* enable scaffolding python funcs in s2i builder
* set listen address on all containers built by s2i
* python s2i integration
* regen fs
* cleanup
* enable host builder
* fix manifest inheritance
* regen fs
* bug fixes
* regen docs
* cleanup and linter error fixes
* conditional python host builder test
* misspellings
* disable python E2E
Until the Python middleware is supported by the Pack builder, the E2E
tests will need to be disabled.
* install python for presubmit tests
* use linux for test builder runs
The target platform for a test needs to be a platform which is available
in all test base images. That's usually linux. Using current OS would
fail, for example, building python containers on MacOS because the
official Python base image has no darwin layer.
* fix ineffasign
* set python ce template to python 3.9
* regen fs
* windows python tests
* python templates README
The --container flag indicates that the function's container should be
39
40
run rather than running the source code directly. This may require that
40
41
the function's container first be rebuilt. Building the container on or
41
-
off can be altered using the --build flag. The default value --build=auto
42
-
indicates the system should automatically build the container only if
43
-
necessary.
42
+
off can be altered using the --build flag. The value --build=auto
43
+
can be used to indicate the function should be run in a container, with
44
+
the container automatically built if necessary.
45
+
46
+
The --container flag defaults to true if the builder defined for the
47
+
function is a containerized builder such as Pack or S2I, and in the case
48
+
where the function's runtime requires containerized builds (is not yet
49
+
supported by the Host builder.
44
50
45
51
Process Scaffolding
46
52
This is an Experimental Feature currently available only to Go projects.
@@ -103,6 +109,8 @@ EXAMPLES
103
109
"You may provide this flag multiple times for setting multiple environment variables. "+
104
110
"To unset, specify the environment variable name followed by a \"-\" (e.g., NAME-).")
105
111
cmd.Flags().Duration("start-timeout", f.Run.StartTimeout, fmt.Sprintf("time this function needs in order to start. If not provided, the client default %v will be in effect. ($FUNC_START_TIMEOUT)", fn.DefaultStartTimeout))
Copy file name to clipboardExpand all lines: docs/reference/func_build.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ func build
58
58
59
59
```
60
60
--build-timestamp Use the actual time as the created time for the docker image. This is only useful for buildpacks builder.
61
-
-b, --builder string Builder to use when creating the function's container. Currently supported builders are "pack" and "s2i". ($FUNC_BUILDER) (default "pack")
61
+
-b, --builder string Builder to use when creating the function's container. Currently supported builders are "host", "pack" and "s2i". ($FUNC_BUILDER) (default "pack")
62
62
--builder-image string Specify a custom builder image for use by the builder other than its default. ($FUNC_BUILDER_IMAGE)
63
63
-c, --confirm Prompt to confirm options interactively ($FUNC_CONFIRM)
Copy file name to clipboardExpand all lines: docs/reference/func_config_git_set.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ func config git set
17
17
### Options
18
18
19
19
```
20
-
-b, --builder string Builder to use when creating the function's container. Currently supported builders are "pack" and "s2i". (default "pack")
20
+
-b, --builder string Builder to use when creating the function's container. Currently supported builders are "host", "pack" and "s2i". (default "pack")
21
21
--builder-image string Specify a custom builder image for use by the builder other than its default. ($FUNC_BUILDER_IMAGE)
22
22
--config-cluster Configure cluster resources (credentials and config on the cluster).
23
23
--config-local Configure local resources (pipeline templates).
0 commit comments