-
Notifications
You must be signed in to change notification settings - Fork 294
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 wildcard stack for command pack buildpack package
#1379
Comments
pack buildpack package
fails with 'no compatible stacks' on wildcard stackpack buildpack package
Converting this into a feature since it's technically a bug but more of a missing feature given that the buildpack API changed after the initial implementation. We're happy to take any contributions for these changes. I believe they should be a "good first issue". |
I'd be happy to support a patch if it's pressing and we can get a PR up from the latest released commit. I say all this as long as there's no push back from @dfreilich |
Created two PRs - one for main and one cherrypicked to release/0.24 branch. LMK if there's anything else I can do to move this forward. |
This has been fixed and released in 0.24.1 |
This issue can be closed, since it was fixed by #1406. The milestone will also need changing back to 0.24.1 rather than 0.25.0. |
Summary
When attempting to use
pack buildpack package
to package a composite buildpack that contains a buildpack whose[[stacks]]
only contains one entry --id = '*'
and a buildpack that contains non-wildcard stacks, packaging fails with a stack incompatibility errordespite the buildpacks actually being compatible.
Reproduction
Steps
Clone my fork of the buildpacks samples repo and checkout the
package-repro
branchUsing
pack
v0.24, runCurrent behavior
Packaging step fails with:
Expected behavior
Expected packaging to succeed because the git buildpack specifies stack wildcard
and since
*
is an allowed stack id.Environment
pack info
docker info
The text was updated successfully, but these errors were encountered: