function-buildpacks-for-knative
function-buildpacks-for-knative copied to clipboard
Provide a configuration option for the location of the function
Feature Request
A way to specify the location of a function within a directory. This is relevant to a monorepo consisting of multiple functions, possibly with multiple directories that could contain your function(s).
This could be something like BP_FUNCTION_SEARCH_PATH
or BP_FUNCTION_PATH
. We can discuss on what name is appropriate in the comments.
Describe alternatives you've considered
New repo per function and everything is top-level. Applications may have multiple moving parts that are closely related.
⚠️ Still in an early discovery phase
PB_FUNCTION_PATH
seems acceptable to me.
Resolved by https://github.com/vmware-tanzu/function-buildpacks-for-knative/commit/e88fe8ad9470fb4c02fd42f18967d79f741c0cc3 ?
nvm: They're separate work. This one relates to the situation where your functions are in different folders possible, so more of a directory level. The prior committed BP_FUNCTION
just identifies the name of your singular default function.