A very simple BOSH release.
- Upload the Dummy BOSH release to the BOSH director using BOSH cli v2 and a configured enviroment:
bosh upload-release https://github.com/pivotal-cf-experimental/dummy-boshrelease/releases/download/v2/dummy-2.tgz
- Update the BOSH director's cloud-config
- create a network named manual
- create a vm_types named tiny
vim cloud-config.yml # add 'manual' network and 'tiny' vm_type bosh update-cloud-config cloud-config.yml
- Copy the sample manifest:
curl -OL https://raw.githubusercontent.com/pivotal-cf-experimental/dummy-boshrelease/master/templates/dummy.yml
bosh deploy -d dummy dummy.yml
Dummy BOSH release has the following jobs:
-
dummy
has no packages and only 1 job that monitors pid 1. -
dummy_with_package
also has 1 job but depends on 1 package. -
dummy_with_properties
has no packages and only 1 job that monitors 1 pid, however it has a property that can be altered to allow you to iterate rapidly on bosh deploys. -
dummy_fail_eventually
has no packages and only 1 job that monitors a process that exits after 5 seconds. -
dummy_fail_immediate
has no packages and only 1 job that does not record a PID and exits immediately. -
dummy_errand
has no packages and echo to stdout
Use dummy-boshrelease
to create a deployment manifest more easily, especially handy if it's your first time
creating a deployment manifest.
Its simplicity also makes it a good way to learn the shape of a BOSH release.
TIP: Use it with bosh-lite to make setting up your first BOSH deployment even easier!