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
Support a random port for the local-run
This allows users to run multiple local-runs without picking
out ports themselves.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Remove armv7 from build and examples
The armv7 target has been deprecated by OpenFaaS. You are
still able to use older builds, but arm64 should be used
instead going forward.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Support --pull for build/publish commands
The --pull flag is supported by Docker and forces a pull
attempt to be made for base images for the case that there
is a newer version available.
The main use-case for this is when teams are publishing
production or internal images directly from their own machines
which accumulate older images.
This is not needed in CI pipelines which start with an empty
library, so always pull the base images fresh from source.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Revert "Export CreateBuildContext function"
Revert to fix#1001
The CreateBuildContext will be moved to the go-sdk in later PR.
This reverts commit 35dc699.
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Export CreateBuildContext function
Simplify the signature of createBuildContext and export the function so
that it can be used by other packages.
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Support multi-arch builds via --remote-builder in publish
The Function Builder API now supports passing in an array of
platforms for multi-arch builds.
Tested e2e with a K3s cluster running in non-root mode.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>