This is a simple build pack that just dumps information about the build pack environment, in particular during the compile process.
-
Create a project folder and execute
touch cache-test.txt
inside that folder. This file must exist or the test build pack will skip processing. -
In the project directory, execute this command.
cf push --buildpack=https://github.com/dmikusa-pivotal/cf-test-buildpack.git
-
You should see a bunch of information about the environment dumped to the screen during the compile phase.
-
If you go to the URL for your application, there is a basic HTTP file server running which allows you to further explore the environment.
-
Adjust the
bin/compile
script to dump any additional information that you like.