Refactored resource pool tests & Re-enabled deprecation warnings

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
minor clean up of resource pool usage in assembler

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
switch to skip for travis mysql tests

Signed-off-by: Dawn Song <d.song@pivotallabs.com>
Bump fakefs

Fakefs compatible with ruby 2.1.1 is not released yet, so
we are using the gem from source at github.

- Switch to StringIO instead of /dev/null for Logger in specs, as this
  conflicts with new Fakefs expecting /dev/null to exist
- Test changing directories to be independent of current spec directory
- Fix Fakefs expand path issue:
  In new Fakefs path and expanded path are not the same

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Remove $SAFE level for ERB parsing

$SAFE=4 level was removed from ruby 2.1.1. In general, this SAFE level
does not provide enough security.

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Update shell_spec const stubbing
Use temp directory in errands controller spec

Some environments resolve paths differently; make sure that director
has access to base_dir as configured.

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Add ruby-2.1.1 to travis integration build

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Increase timeout for agent start in tests

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Add GOROOT to travis:go_install

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Download test artifacts in WORKSPACE if set

/tmp is not always large enough on some environments
Remove kernel version from grub.conf test

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Add latest trusty OS image to doc

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Merge final release for build 2606 to develop
Update stemcell:upload_os_image

Add requirement/ability to pass in the S3 key on the command line.
Remove Bosh::Stemcell:OsImageUploader as it is no longer necessary.

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Add ci:publish_os_image_in_vm rake task

Also includes a refactor of StemcellVm.

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Use bash for stemcell VM commands so we can use pushd

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Use Tempfile instead of Dir.mktmpdir

It seems that our tempdir disappeared before we could use it. Using a file in
TMPDIR instead means we shouldn't have to worry about that.

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Remove unused require from spec

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Read OS image tempfile path before unlinking

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>