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
Added s3 cli to go agent stemcell build
[#59695194]

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
Added better error handling around blobstore feature
[#59695194]

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
Added implementation for s3 blobstore
[#59695194]

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
Added error wrapping across application

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
Added vet and cover from the go.tools package
This is part of Go 1.2

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
Added build for go agent tests on Travis CI

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Follow package naming conventions

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
extracted out dir compression into disk.Compressor
added DecompressFileToDir
introduce ReleaseChangePromoter

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Added dummy start action
[#60999230]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Added dummy stop action
[#60999230]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>