Create destination directory before downloading

Since we started cleaning the repo on stemcell building box with git clean
the /bosh/tmp directory is no longer exists.

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Remove openstack from stemcell promotion

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Simplify bosh-monitor stop

* Remove exit(1) from Signal.trap because it will be 130 either way
* Remove soft=false from #stop because it was just for a test
* Remove EM.stop which will happen anyway because we're exiting the process
  and have nothing more to do once it has stopped

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Cleaned up a flakey test for director locks

- Test was expecting lock renewal to have happened, which may not happen
  during a 0.1s test.

[#76021152]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Adding final release for build 2669
Merge final release for build 2669 to develop
Fix notifying_plugins_spec

Since bf0b96c (Simplify bosh-monitor stop), this test would cause unit tests
to fail because EM would have still been running in another thread.

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Make sure vpshere shuts down VM

* Wait for 60 seconds for VM to shutdown
* Send power-off command if it still up

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Set ntp server in vsphere manifest properties section

Director config file is using ntp server configuration from
manifest properties section.

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Decrease the number of parallel tests on traivs to 4

This is to prevent Travis from killing integration tests

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Fix installation of bosh-template executable

s.files does not contain "bin" directory
Move authorization for /varz into ApiController

This will allow us to add separate routes that do not require authorization.

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Add /healthz endpoint to Bhm::ApiController

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Update health_monitor monit file

Use health_monitor_ctl script to kill a non-responsive health_monitor instead
of using /bin/bash with the pid. This adds the 'kill' command to the ctl
script.

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Adding final release for build 2671
Update job ctl scripts

Check for existence of PID prior to killing.

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Added better support for naming releases

- Name can now be changed in the config without affecting previous
  versions
- Create release now allows --name to specify a different name than what
  is in the config
- Added migration to change the releases & dev_releases dirs to have
  sub-dirs for each release name

[#72994716]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Improved integration test coverage for named releases

Signed-off-by: Phan Le <ple@pivotallabs.com>
Split release.rb into command specific files.

Signed-off-by: Phan Le <ple@pivotallabs.com>
Increase text limit for data columns

* compiled_packages -> dependency_key
* deployment_properties -> value
* director_attributes -> value

Signed-off-by: Michael Maximilien <maxim@us.ibm.com>