Go to file
dependabot[bot] 3f5fddc092 Bump rack from 2.0.7 to 2.0.8 in /fixtures/rubyapp (#1)
Bumps [rack](https://github.com/rack/rack) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.0.7...2.0.8)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-20 08:55:59 +10:00
bin Initial buildpack scaffold 2019-05-20 14:12:20 +10:00
fixtures Bump rack from 2.0.7 to 2.0.8 in /fixtures/rubyapp (#1) 2019-12-20 08:55:59 +10:00
scripts there is a newer install_go.sh 2019-05-22 17:17:49 +10:00
src switch to sidecar-dev branch as aggregate of PRs required 2019-05-21 19:56:42 +10:00
.envrc Initial buildpack scaffold 2019-05-20 14:12:20 +10:00
.gitignore Initial buildpack scaffold 2019-05-20 14:12:20 +10:00
README.md update to 'part 4' 2019-05-24 09:18:15 +10:00
VERSION Initial buildpack scaffold 2019-05-20 14:12:20 +10:00
manifest.yml store executable at bin/config-server; so its in $PATH 2019-05-20 16:12:57 +10:00
sha.yml Initial buildpack scaffold 2019-05-20 14:12:20 +10:00

README.md

Part 4 - Cacheable Buildpack with libbuildpack

Buildpack User Documentation

Building the Buildpack

To build this buildpack, run the following command from the buildpack's directory:

  1. Source the .envrc file in the buildpack directory.
source .envrc

To simplify the process in the future, install direnv which will automatically source .envrc when you change directories.

  1. Install buildpack-packager
./scripts/install_tools.sh
  1. Build the buildpack
buildpack-packager build
  1. Use in Cloud Foundry Upload the buildpack to your Cloud Foundry and optionally specify it by name
cf create-buildpack [BUILDPACK_NAME] [BUILDPACK_ZIP_FILE_PATH] 1
cf push my_app [-b BUILDPACK_NAME]

Testing

Buildpacks use the Cutlass framework for running integration tests.

To test this buildpack, run the following command from the buildpack's directory:

  1. Source the .envrc file in the buildpack directory.
source .envrc

To simplify the process in the future, install direnv which will automatically source .envrc when you change directories.

  1. Run unit tests
./scripts/unit.sh
  1. Run integration tests
./scripts/integration.sh

More information can be found on Github cutlass.

Reporting Issues

Open an issue on this project

Disclaimer

This buildpack is experimental and not yet intended for production use.