Replies: 1 comment
-
I agree we should constantly be on the look out for ways to make the development/contribution/testing/debugging experience easier, however, I don't think we should try and add full on support to our tooling for day to day branch based buildpack usage by end users. Users should be encouraged to be on the latest version of the buildpack, plus IMO we should get in the habit of more frequent (and smaller, bite-sized) releases (which will be easier with our release automation), plus things like feature flags for experimental features. I also think that #6 (reply in thread) is potentially a bit of a red herring (or at least a less common edge case), since:
That said, there are some things we can do to improve the contribution experience, such as:
Agree. I think (4) above would resolve this? :-)
I think as a general rule of thumb we should not consider Kodon-only solutions for most problems, since it breaks the whole "it works locally the same as on Heroku" paradigm. (Plus means we have to maintain something inside another team's component, which is also harder for us to test, since running a whole Kodon instance locally is non-trivial.)
The concept of CNBs building CNBs has come up before - IMO it does not make any sense. CNBs are for building final OCI images for applications, with concepts like lifecycle, launcher, layers, base images, rebase etc. For example, a buildpack release does not want/need a launcher binary or the contents of a base image inside the buildpack, has no need for layers, rebase etc. The |
Beta Was this translation helpful? Give feedback.
-
Here's one method described here #6 (reply in thread). Classic buildpacks can use branches on Heroku. While I think it's great there's a way to run branches locally, I'm thinking that we will also want the ability to run/test branches on Heroku (or maybe you disagree, it's a discussion!). To that end here's some options:
Local only, build Rust cnbs
Bootstrap script
bin/build
andbin/detect
script into each buildpack that will first build/bootstrap the buildpack.Something else?
bin/build
foundbin/bootstrap
perhaps? (But I'm not sure what that buys us unless we could use CNBs to build CNBs and THAT would be awesome).Beta Was this translation helpful? Give feedback.
All reactions