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
What happened?
Following the completion of #182, I tested out the code which installs
developmentandtestgems during the build phase. I performed a rebuild of an app withtestgems, and I changed atestgem (same experience fordevelopmentgem change) it caused both thebuildandlaunchinstall process to re-run.When I changed a
productiongem on a rebuild, it also caused both thebuildandlaunchinstall process to re-run.I would have only expected the relevant install process to rerun depending on the type of gem. For example, when changing a
testgem I would've expected only thebuildprocess the rerun, but thelaunchprocess cache layer to be reused so that my rebuild is more performant.Build Configuration
pack,kpack,tektonbuildpacks plugin, etc.) are youusing? Please include a version.
pack 0.18.0
bundle-install v0.2.0
buildpack.yml,nginx.conf, etc.)?https://github.com/paketo-buildpacks/bundle-install/tree/main/integration/testdata/simple_app
Checklist