Skip to content

Only reuse launch process cache layer when test/development gem changes #195

@sophiewigmore

Description

@sophiewigmore

What happened?

  • What were you attempting to do?

Following the completion of #182, I tested out the code which installs development and test gems during the build phase. I performed a rebuild of an app with test gems, and I changed a test gem (same experience fordevelopment gem change) it caused both the build and launch install process to re-run.

When I changed a production gem on a rebuild, it also caused both the build and launch install process to re-run.

  • What did you expect to happen?

I would have only expected the relevant install process to rerun depending on the type of gem. For example, when changing a test gem I would've expected only the build process the rerun, but the launch process cache layer to be reused so that my rebuild is more performant.

Build Configuration

  • What platform (pack, kpack, tekton buildpacks plugin, etc.) are you
    using? Please include a version.

pack 0.18.0

  • What buildpacks are you using? Please include versions.

bundle-install v0.2.0

  • Can you provide a sample app or relevant configuration (buildpack.yml,
    nginx.conf, etc.)?

https://github.com/paketo-buildpacks/bundle-install/tree/main/integration/testdata/simple_app

Checklist

  • I have included log output.
  • The log output includes an error message.
  • I have included steps for reproduction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA new feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions