Now that the new CF environments do not come with preloaded buildpacks in their cflinuxfs3 version, when we try to run the apt Buildpack tests, they fail because they have a dependency on the ruby, staticfile, and binary buildpacks.
The ruby buildpack was already provided through a script called scripts/build-ruby.offline-bp.sh, which was responsible for locally packaging the buildpack in its desired version. I reused this logic with some minor changes to support any buildpack passed as a parameter to adjust the requirements of staticfile and binary when the stack is cflinuxfs3.
Now that the new CF environments do not come with preloaded buildpacks in their
cflinuxfs3
version, when we try to run the apt Buildpack tests, they fail because they have a dependency on theruby
,staticfile
, andbinary
buildpacks.The
ruby
buildpack was already provided through a script calledscripts/build-ruby.offline-bp.sh
, which was responsible for locally packaging the buildpack in its desired version. I reused this logic with some minor changes to support any buildpack passed as a parameter to adjust the requirements ofstaticfile
andbinary
when the stack iscflinuxfs3
.