Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 959 Bytes

DEVELOPING.md

File metadata and controls

44 lines (32 loc) · 959 Bytes

Development Setup and Workflow

Setting up Go

Install Go 1.3 or later. For example, install gvm and issue:

# gvm install go1.3
# gvm use go1.3

Extend $GOPATH and $PATH:

# export GOPATH=~/go:$GOPATH
# export PATH=~/go/bin:$PATH

Get garden-linux and its dependencies

# go get github.com/cloudfoundry-incubator/garden-linux
# cd ~/go/src/github.com/cloudfoundry-incubator/garden-linux

Install Concourse and Fly

  • Install concourse following the instructions at Concourse.ci
  • Install fly as follows:
go get github.com/concourse/fly

Run the Integration Tests

To test under fly run

scripts/garden-fly

in the repository root.

garden-fly provides the necessary parameters to fly which uses build.yml and runs scripts/concourse-test on an existing Concourse instance which must already be running locally in a virtual machine.