Raise exception when command called by run_bosh fails.

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
CompiledPackageInserter now creates the blob.

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
make importing compiled packages idempotent

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
remove compiled package blob on database failure

this commit makes a best effort to remove the blob if we fail to insert
the object id into the database

Signed-off-by: Brian Cunnie <cunnie@pivotallabs.com>
unit-ish tests for import_compiled_packages job

Signed-off-by: Brian Cunnie <cunnie@pivotallabs.com>
blobstore client is responsible for generating the id

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
test of import_compiled_packages doesn't rely on passed-in options

Passed-in options exercises different code path, making testing
more fragile.  Now we test one code path.

Signed-off-by: Brian Cunnie <cunnie@pivotallabs.com>
Decouple migration tasks for each component

So they are easier to reason about and also easier to move back into each component in [#61228518]

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Re-enable pending spec since [#55660590] was fixed

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Move Sandbox into Bosh::Dev::Sandbox

So it is easier to use outside of integration tests

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Introduce rake task to run sandbox outside of integration specs

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Move assets only used by sandbox into bosh-dev

[Finishes #61231410]

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Introduce RenderedTemplatesArchive model

Tracks rendered template archives for each instance for later clean up

[#60724646]

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
formatting
use bosh-stemcell-8ac13e for building stemcells