Skip to content

v0.1.2

Latest
Compare
Choose a tag to compare
@dgodd dgodd released this 22 Jan 01:25

Use cfwindowsstager to test the buildpack

Having cloned the hwc-buildpack

.\scripts\build.ps1
.\cfwindowsstager.exe --app ..\hwc-buildpack\fixtures\windows_app --buildpack .\example_extension_buildpack-windows2016-v0.1.2.zip --buildpack https://github.com/cloudfoundry/hwc-buildpack/releases/download/v3.1.4/hwc-buildpack-windows2016-v3.1.4.zip

Then having run the docker container:

(iwr http://127.0.0.1:8080/env -UseBasicParsing).Content | ConvertFrom-Json | ConvertTo-Json

will show the environment variable set in bin/supply.ps1 (MyTestVariable)