Skip to content

Instantly share code, notes, and snippets.

@drnic
Last active April 28, 2017 13:19
Show Gist options
  • Select an option

  • Save drnic/fffee406e4f26fb94a0e to your computer and use it in GitHub Desktop.

Select an option

Save drnic/fffee406e4f26fb94a0e to your computer and use it in GitHub Desktop.

Revisions

  1. drnic revised this gist Mar 3, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion writing-bosh-monitor-plugin.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    1. fork bosh
    1. clone bosh repo
    2. `bundle install`
    2. create a plugin.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/lib/bosh/monitor/plugins
    3. create a plugin spec.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/spec/unit/bosh/monitor/plugins
    4. Write tests and make them pass
  2. drnic revised this gist Mar 3, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion writing-bosh-monitor-plugin.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    2. create a plugin.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/lib/bosh/monitor/plugins
    3. create a plugin spec.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/spec/unit/bosh/monitor/plugins
    4. Write tests and make them pass
    5. 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
    5. 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
    6. run the rake task to create a bosh release of bosh
    7. upload to your microbosh
    8. create a deployment manifest to deploy a new bosh https://github.com/cloudfoundry/bosh/blob/master/release/examples/bosh-openstack-solo.yml
  3. drnic revised this gist Mar 3, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion writing-bosh-monitor-plugin.md
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,4 @@
    7. upload to your microbosh
    8. create a deployment manifest to deploy a new bosh https://github.com/cloudfoundry/bosh/blob/master/release/examples/bosh-openstack-solo.yml
    9. deploy
    10. check your consul cluster for status
    10. test your plugin -> external thing
  4. drnic created this gist Mar 3, 2015.
    10 changes: 10 additions & 0 deletions writing-bosh-monitor-plugin.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    1. fork bosh
    2. create a plugin.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/lib/bosh/monitor/plugins
    3. create a plugin spec.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/spec/unit/bosh/monitor/plugins
    4. Write tests and make them pass
    5. 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
    6. run the rake task to create a bosh release of bosh
    7. upload to your microbosh
    8. create a deployment manifest to deploy a new bosh https://github.com/cloudfoundry/bosh/blob/master/release/examples/bosh-openstack-solo.yml
    9. deploy
    10. check your consul cluster for status