Skip to content

Fails silently when custom buildpack fails to download from Git #244

@callahad

Description

@callahad

The logic in buildpack.bash attempts to git ls-remote $url, and falls back to trying to pipe from curl into tar, with arguments based on file extension.

In my case, I was using a buildpack with a GitHub, but ls-remote failed due to a connectivity issue. The following case statement failed to match any extensions, leaving tar_args empty. Which caused tar to fail as tar without one of -Acdrtux is invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions