Closed benjaminhuo closed 3 years ago
/kind bug
hi @benjaminhuo, I see that you are using buildpacks
version 0.1
which is now deprecated. Can you please try using buildpacks
version 0.2
?
/cc @jromero
Note: this issue and possible resolutions have been posted on the lifecycle tekton-integration repo as well: https://github.com/buildpacks/tekton-integration/issues/4
Thanks for the quick response @vinamra28 and @jromero , I've tried buildpacks v0.2 before and it doesn't work. I'll try the method mentioned in https://github.com/buildpacks/tekton-integration/issues/4 and let you know.
Thanks ! Ben
It's fixed following @natalieparellano 's suggestion
Thanks again Ben
Expected Behavior
Successfully build function
Actual Behavior
Google function framework isn't detected
Steps to Reproduce the Problem
I am able to build sample functions https://github.com/OpenFunction/function-samples with the following command ,
google.go.functions-framework
is detected correctly:But when I use tekton to build the same function with
gcr.io/buildpacks/builder:v1
,google.go.functions-framework
cannot be detected even after I add correct function environment to tekton tasks:The tekton stuff is based on the CNB official website example with some modification