function-buildpacks-for-knative icon indicating copy to clipboard operation
function-buildpacks-for-knative copied to clipboard

Provide a configuration option for the location of the function

Open andrew-su opened this issue 2 years ago • 2 comments

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

andrew-su avatar May 16 '22 17:05 andrew-su

PB_FUNCTION_PATH seems acceptable to me.

bbtong avatar May 16 '22 20:05 bbtong

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.

bbtong avatar Jun 27 '22 20:06 bbtong