-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for heroku-24 #243
Comments
@jwhitcraft Hi! Thank you for filing an issue. This buildpack is compatible with Heroku-24 - and as far as I'm aware this buildpack defines all the correct compatibility metadata according to the Buildpack API spec (see What builder image are you using with the For kpack, what kpack version is it, and do you know what Platform API version it is using? |
Oh and what OS/arch is being used? (If using a custom builder) |
Hello! No custom builder here yet, but we are building for Here is my ClusterStack
Here is my ClusterStore
And here is my ClusterBuilder
The one thing I did notice was that the buildpack.toml file for the Procfile doesn't have the stacks config in it.
|
From the looks of it, even though https://github.com/buildpacks-community/kpack/blob/main/pkg/cnb/buildpack_validation.go#L12-L31 |
Thank you for the extra details.
Those definitions are using the Heroku build and run images, but not Heroku's builder image. Heroku's builder images are published here: I'm not very familiar with kpack at all - looking now it seems it differs quite considerably from some of the other "platforms" (such as Pack CLI, or Heroku's internal CNB platform) For example, it doesn't use https://github.com/buildpacks/lifecycle but ships its own, xref:
And it also doesn't allow using a pre-built builder, and instead makes you use its custom types for the same?
Ah good spot. It looks like kpack needs updating to properly support Buildpack API 0.10 which deprecated stacks (making them optional in favour of It's probably worth filing an issue for this here: |
Thanks, I filed the issue linked above, In the short term is there anyway that the I'd be more than happy to open an PR with it. |
Thank you for filing that issue. Yeah I'm open to adding back
|
@edmorley i may have found a way around this, since we are on gitlab and don't have access to docker running in our clusters, we can run the lifecycle builder as part of job in gitlab going to try this out vs using kpack, will report back. |
Great news this worked wonderfully and we are going to try and migrate this way of doing things over kpack, since there isn't much activity going on there right now. Thanks again for all your help! |
Great! And no problem :-) |
Closing this out for now, since this was an upstream bug/limitation of kpack (it should reject Buildpack API 0.10 buildpacks if it doesn't fully support Buildpack API 0.10, plus would ideally support Buildpack API 0.10). |
Hello,
Was just testing this out today and noticed this error when trying to setup a clusterbuilder with kapck:
The text was updated successfully, but these errors were encountered: