Do not install debugger on Travis; Move vcr to test dependency

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
Added panic handling and better error capturing in agent
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Introduced debug logs when shelling out
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Made logger an object
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Added debug logs to file system
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Added NATS logs
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Added dnsutils package to travis ci build

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Ensure gems are still bundled after installing dnsutils

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Adds ReleaseChanges object to stage changes to S3 during CI runs.

- Also allows merging of those changes.
- Removes the final option from the creating a release
  (all releases are currently final).

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
Publishing a release now stages changes to S3.

Refactors the guts of the publish bosh release rake task into an object for testability

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
correct a method description in test

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
Splits ReleaseCreator and ReleaseChanges out into separate files.

- also makes rubocop happy

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
Replace HEAD with candidate sha

The HEAD will no longer point to the candidate SHA after our next
commit.

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
wrap tests in describe

now that we are about to have a second method...

Signed-off-by: Mike Stallard <mstallard@pivotallabs.com>
factory method to construct the Promoter

- This commit also changes the constructor to use positional arguments.
- logger is now injected
rename ReleaseChanges to ReleaseChangeStager

something else should be responsible for promoting the final release
introduce ReleaseChangePromoter

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Make downloaded patch s3 key empty to match upload key.

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Use real build number in tempfile prefix.

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Make Bosh::Dev::Promoter commit final release.

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>