Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.42 KB

contributing.md

File metadata and controls

49 lines (39 loc) · 1.42 KB

Contributing

We welcome contributions from the community. Here are guidelines for development.

Running low-level tests

~/workspace/cf-networking-release/scripts/docker-test
~/workspace/cf-networking-release/scripts/template-tests

Running the full acceptance test on bosh-lite

WARNING: This test is taxing and has an aggressive timeout. It may fail on a laptop or other underpowered bosh-lite.

cd src/test/acceptance
./run-locally.sh

Referencing a new library from existing BOSH package

  1. Add any new libraries into the submodule from the root of the repo
cd $GOPATH
git submodule add https://github.com/foo/bar src/github.com/foo/bar
./scripts/sync-package-specs

Adding a new BOSH package

  1. Add any new libraries into the submodules from the root of the repo
cd $GOPATH
git submodule add https://github.com/foo/bar src/github.com/foo/bar
  1. Update the package sync script:
vim $GOPATH/scripts/sync-package-specs

Find or create the sync_package line for baz

  1. Run the sync script:
./scripts/sync-package-specs

When using bosh-lite, not finding iptable logging inside kern.log

The linux kernel prevents iptable log targets from working inside a container. See commit introducing the change