Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ultragtx/2fe1e81de9f28d645d4679910094f733 to your computer and use it in GitHub Desktop.
Save ultragtx/2fe1e81de9f28d645d4679910094f733 to your computer and use it in GitHub Desktop.
  1. clone bosh repo
  2. bundle install
  3. create a plugin.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/lib/bosh/monitor/plugins
  4. create a plugin spec.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/spec/unit/bosh/monitor/plugins
  5. Write tests and make them pass
  6. Allow consul configuration to be passed into health_monitor job template https://github.com/cloudfoundry/bosh/blob/master/release/jobs/health_monitor/spec and https://github.com/cloudfoundry/bosh/blob/master/release/jobs/health_monitor/templates/health_monitor.yml.erb
  7. run the rake task to create a bosh release of bosh
  8. upload to your microbosh
  9. create a deployment manifest to deploy a new bosh https://github.com/cloudfoundry/bosh/blob/master/release/examples/bosh-openstack-solo.yml
  10. deploy
  11. test your plugin -> external thing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment