Install bundler

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Set ruby-version

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Set ruby version when building stemcell

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Add prerequisites for database gems

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Use tmpdir

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Build stemcell in AWS machine

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Install the Chef DK for Vagrant

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Change ruby to 2.1.2

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Only install ChefDK if it is not already installed

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Refactor build dependencies

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Use environment variable to create stemcell private key

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Download stemcell from S3 bucket

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Add bats dependencies

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Remove old stemcells before getting new stemcell

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Add packer bosh

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Download box to run BATs on from S3

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Install required vagrant plugins

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Do not install plugins again when they are already installed

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Remove extra code

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Download AWS box to run bats

Signed-off-by: Andrei Dinin <adinin@pivotal.io>