Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.68 KB

contributing.md

File metadata and controls

53 lines (41 loc) · 1.68 KB

Contributing

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

Running unit, integration and template tests

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

Running the full acceptance test on bosh-lite

Setting up

Run the scripts/deploy-to-bosh-lite script.

To deploy, cf-networking-release, bosh-deployment, and cf-deployment repos are required.

Running acceptance

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