Skip to content
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

Warning about "Multi" when using a single buildpack looks confusing #554

Open
jarthod opened this issue Apr 5, 2020 · 0 comments
Open

Comments

@jarthod
Copy link

jarthod commented Apr 5, 2020

When replacing the default buildpack with a custom one using the buildpacks:add command, we get the following Warning:

-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
       Detected buildpacks: multi ruby
-----> Multipack app detected

Which has no reason to be here because there's only one buildpack so there's no ambiguity, this warning make it looks like we did something wrong and we're not sure if it's gonna execute two buildpacks. Apparently it doesn't but in this case the warning is misleading.

Reproduce (dokku 0.20.2):

> dokku buildpacks:add https://github.com/jarthod/heroku-buildpack-ruby.git
> dokku buildpacks:list
-----> suzaku buildpack urls
       https://github.com/jarthod/heroku-buildpack-ruby.git
> dokku ps:rebuild
-----> Cleaning up...
-----> Building suzaku from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
       Detected buildpacks: multi ruby
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/jarthod/heroku-buildpack-ruby.git
=====> Detected Framework: Ruby
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant