SSH Tunnel should only be started if both registry and ssh tunnel are
configured

- Add a registry.ServerFactory to avoid exposing the 'started' channel,
  blocking synchronously.
- Replace registry fake with gomock

[#83884330]

Signed-off-by: Karl Isenberg <kisenberg@pivotal.io>
Attempt to resolve flakey acceptance test

Signed-off-by: Karl Isenberg <kisenberg@pivotal.io>
Extract registry start/stop out to the deploy cmd

- Refactor CPIDeployment as an object that can be installed
- Allow CPIDeployment.StartJobs/StopJobs to manage the registry

[#83884330]

Signed-off-by: Christian Williams <cwilliams@pivotal.io>
Make mockgen `go fmt` generated files.

Signed-off-by: Christian Williams <cwilliams@pivotal.io>
Don't need RegistryServerManager in Deployer or InstanceManager.

Signed-off-by: Christian Williams <cwilliams@pivotal.io>
Clean up after CPIDeployment -> Manifest rename.

Signed-off-by: Christian Williams <cwilliams@pivotal.io>
Rename deployment.Deployment to Manifest.

Signed-off-by: Christian Williams <cwilliams@pivotal.io>
Split deployment manifest and job files.

Signed-off-by: Christian Williams <cwilliams@pivotal.io>
Create deployer.Deployment to encapsulate deployer.

- Refactor DeleteCmd to use CPIDeployment.

Signed-off-by: Christian Williams <cwilliams@pivotal.io>
Added registry start/stop to DeleteCmd

[#83884330]

Signed-off-by: Christian Williams <cwilliams@pivotal.io>
Add integration test for registry connectivity while running deploy command

Signed-off-by: Karl Isenberg <kisenberg@pivotal.io>
Refactor deployment code

deployment/ -> deployment/manifest/
deployer/ -> deployment/

Signed-off-by: Karl Isenberg <kisenberg@pivotal.io>
Allow BOSH_MICRO_LOG to take a log level string (ex: 'DEBUG')

- Update bosh-agent godeps
- Update lifecycle test to always log at debug level (very verbose)

[#83884330]
Increase vagrant to 4 cpu cores & 4GB memory
Fix "can set deployment" acceptance test

- read user config using ssh
Specify a file to log to using BOSH_MICRO_LOG_PATH

- Rename BOSH_MICRO_LOG to BOSH_MICRO_LOG_LEVEL
- Only print acceptance debug logs on test failure
- Make acceptance cleanup (delete) quieter & only print on cleanup failure

[#84716170]