Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Deploying things to BOSH - from spiff to bosh-w...

Deploying things to BOSH - from spiff to bosh-workspace to concourse ci

At Stark & Wayne we are constantly thinking, planning, exploring and working towards the ultimate continuous deployment pipelines for our production systems & our customer's production systems.

At CF Summit 2015, Dr Nic, overviewed the state of art for deploying safely through to production with BOSH using combinations of spiff, bosh-workspace and the all new Concourse CI

Dr Nic Williams

May 11, 2015

Transcript

45 slides
  1. What changed in job template inputs? git log v195..v207 --

    jobs/*/spec commit 295db91d037f8d151621db067c5c7659cfa566ac Author: Chris Piraino and Zach Robinson <[email protected]> Date: Wed Apr 15 11:29:06 2015 -0700 change the default rootfs to cflinuxfs2 [#87752612]
  2. git diff v195..v207 -- \ jobs/cloud_controller_ng/spec + uaa.clients.cloud_controller_username_lookup.client: + description:

    "Used for fetching usernames from UAA." + uaa.clients.cloud_controller_username_lookup.secret: + description: "Used for fetching usernames from UAA." cc.billing_event_writing_enabled: description: "If true, billing events are written to the CCDB." - default: true + default: false
  3. Deploy CF —bosh-workspace deployment file —cf/ templates from cf-release/templates —others

    are custom —specific merge order cloudfoundry-community/ cf-boshworkspace
  4. Tiny CF —6 VMs instead of 20 —High availability with

    12 instead of 40 cloudfoundry-community/ cf-boshworkspace
  5. How to make spiff templates? $ gem install makemespiffy $

    cp working_manifest.yml base_template.yml $ makemespiffy base_template.yml \ name environment/name.yml meta.name $ makemespiffy base_template.yml \ networks.cf1.subnets env/networking.yml meta.subnets.cf1
  6. Pipeline ProTips - "Docker Docker Docker" —Every task runs in

    a Docker image —Own your Docker images —Dockerfile in same pipeline repo —Pipeline to create Docker image

More Decks by Dr Nic Williams

Other Decks in Technology