-
Notifications
You must be signed in to change notification settings - Fork 8
Add configuration for Python buildpack to define package to scan and which function to load #63
Comments
I tried the following commands to generate a function with rm -rf pr64 && mkdir pr64 && cd pr64 && kn func create -l python kn func build -b ghcr.io/vmware-tanzu/function-buildpacks-for-knative/functions-builder:0.0.10 The build failed with five sets of errors like this: |
Hey Joe, This is related to: #55 The version of func cli/plugin is newer than the version being used as dependency (0.19). |
Hi Andrew, |
To set the configuration on the buildpack it's set through the |
I was running into function not found when building because I'd created the function using |
Feature Request
The Python buildpack expects two environment variables
MODULE_NAME
andFUNCTION_NAME
.Proposed configuration values:
BP_FUNCTION
: The name of the function to look for. Default:func.main
Alternatively we can instead do:
BP_FUNCTION_MODULE
BP_FUNCTION_NAME
The text was updated successfully, but these errors were encountered: