buildpacks / community

Community content for the Cloud Native Buildpacks (CNB) project
https://buildpacks.io
Creative Commons Attribution 4.0 International
43 stars 24 forks source link

Tekton-buildpacks integration failure on pipelinerun while "Creating 'env' directory: /platform/env" #259

Open nilaykcaba opened 3 months ago

nilaykcaba commented 3 months ago

Hi, I followed the instructions on this page to use buildpacks in my pipeline:

https://buildpacks.io/docs/for-platform-operators/how-to/integrate-ci/tekton/

While running pipeline: Defaulted container "step-prepare" out of: step-prepare, step-create, step-results, prepare (init), place-scripts (init)

Setting permissions on '/tekton/home'...
Setting permissions on '/layers'...
Setting permissions on '/workspace/source'...
Parsing additional configuration...
-> Parsing env variables...
Processing any environment variables...
--> Creating 'env' directory: /platform/env
on the last line while creating env directory, the step holds a while and pods exit with error. Both used local storage and dynamic pvc options but error remained same,any help would be apricated.I've been trying to solve quite a while but nothing seems working.

Thanks.

natalieparellano commented 3 months ago

@nilaykcaba it would be helpful to know the error that you are seeing. It looks like it's getting stuck here: https://github.com/tektoncd/catalog/blob/8d852fa21a20c4aaddf4c54760ebc2595cecbba5/task/buildpacks/0.6/buildpacks.yaml#L119-L126

I have to confess, I'm not too knowledgeable about Tekton. You might get better help in #buildpacks-tekton in CNCF slack (slack.cncf.io) or in Tekton slack (tektoncd.slack.com).