bucket: required: the name of the bucket where you’d like your state-dir tarballs to be stored.
iaas: required: gcp, for now, but we’ll take aws soon. This is the iaas where you want your new bosh directors.
lb_type: optional: cf or concourse, denotes the varietals of the load balancers you’d like to deploy with your director
lb_domain: optional: for cf, the system domain, for concourse, the web domain. NOTE: randomly named bosh directors will share a single domain at the moment and that will not go well. these features don’t mix.
gcp_service_account_key: required: your gcp service account key, formatted as JSON.
gcp_region: required: the gcp region where you’d like your environments.
Behaviour
put: Deploy, upgrade, and destroy BOSH directors and its containing environment
There are two primary modes of operation for bbl-state puts:
By default, without a name configured, we’ll generate random environment names for each put: { command: up }.
If you’ve configured a name, name_file, or a state_dir, the resource will manipulate that environment.
command: required: up, down, destroy, rotate, or cleanup-leftovers. Any top-level command available to bbl.
args: optional: a yaml hash containing additional flags as key-value pairs. these might be load balancer options or filter: env-name for leftovers. note that these use dashes, not underscores.
name: optional: the name of the environment you’d like to manipulate. overrides name_file and state_dir.
name_file: optional: a file you’d like to load name from, useful if you’re manipulating an env stored in a pool-resource. overrides state_dir.
state_dir: optional: an already-fetched bbl state directory containing the state for the environment you’d like to manipulate.
get: Download bbl states
gets download bbl-states, directories generated by bbl that contain information about a BOSH director and its associated iaas environment.
none! names, checksums, and timestamps are encoded in our concourse versions, so we’ve got to fetch those specific ones.
note: gets don’t have access to the file system for dynamic configuration, anyways, so name_files and state_dirs can’t be reached.
If you want to get a specific state-dir, you’ll have to use concourse primitives like passed to filter things down or do a put with a noop-ish bbl command like env-id.
Special outputs that you wouldn’t find in a normal bbl-state include:
bbl-state/name, which contains the environment name
bbl-state/metadata, which is useful for plugging in to concourse/pool-resource
the bbl state dir concourse resource
This is a concourse resource for provisioning bosh directors and using bbl to manipulate cloud-stored bbl-states.
It’s built to play nice with bosh-deployment-resource and pool-resource.
to bring this in to your concourse pipeline:
Source Configuration
Example:
Parameters:
bucket: required: the name of the bucket where you’d like your state-dir tarballs to be stored.iaas: required: gcp, for now, but we’ll take aws soon. This is the iaas where you want your new bosh directors.lb_type: optional:cforconcourse, denotes the varietals of the load balancers you’d like to deploy with your directorlb_domain: optional: for cf, the system domain, for concourse, the web domain. NOTE: randomly named bosh directors will share a single domain at the moment and that will not go well. these features don’t mix.gcp_service_account_key: required: your gcp service account key, formatted as JSON.gcp_region: required: the gcp region where you’d like your environments.Behaviour
put: Deploy, upgrade, and destroy BOSH directors and its containing environmentThere are two primary modes of operation for bbl-state puts:
put: { command: up }.Examples:
Parameters:
command: required:up,down,destroy,rotate, orcleanup-leftovers. Any top-level command available to bbl.args: optional: a yaml hash containing additional flags as key-value pairs. these might be load balancer options orfilter: env-namefor leftovers. note that these use dashes, not underscores.name: optional: the name of the environment you’d like to manipulate. overrides name_file and state_dir.name_file: optional: a file you’d like to load name from, useful if you’re manipulating an env stored in a pool-resource. overrides state_dir.state_dir: optional: an already-fetched bbl state directory containing the state for the environment you’d like to manipulate.get: Download bbl statesgets download bbl-states, directories generated by bbl that contain information about a BOSH director and its associated iaas environment.Examples:
Parameters:
none! names, checksums, and timestamps are encoded in our concourse versions, so we’ve got to fetch those specific ones.
Special outputs that you wouldn’t find in a normal bbl-state include:
bbl-state/name, which contains the environment namebbl-state/metadata, which is useful for plugging in to concourse/pool-resourceDevelopment:
things happen via the Makefile:
make help