Open dmitry-mightydevops opened 2 years ago
At this point in time, the project.toml
file is a platform concern meaning it has to be implemented by every platform. In this particular case, we haven't yet added the support for it in Tekton.
A recent relevant conversation: https://github.com/buildpacks/rfcs/pull/182
FWIW, support for project.toml is an extension spec. That means that it's not currently expected to be supported for platforms to be compliant. That said, we're trying to find the best way to expand its support.
We would accept a PR that brings about this support for Tekton as an example 😉.
Any update on this issue?
Was pretty surprised to see that the project.toml
is not supported when using buildpacks through Tekton. All of the docs for paketo/buildpacks show to use this file to update things like python version, etc. Using pack
cli was working and couldn't figure out why it wasn't working when building through Tekton.
Will have to resort to parsing the project.toml and pushing the build envs into the pipeline run..
so /cnb/lifecycle/creator has the argument
which technically should support the project.toml file if I am not mistaken. Howevery no matter what I do - anything that I put inside this file has no effect on the buildpack. I'm using latest google buildpack builder
my project.toml:
yet when I run
I always get 3.9.5
I had to create a file in /platform/env/
so how to make project.toml supported?
I saw this implementation, but it seems hackish in nature, assuming buildpacks spec if supported.