Skip to content

Instantly share code, notes, and snippets.

@rkoster
Created April 25, 2017 13:47
Show Gist options
  • Save rkoster/cb74a1aec3cb1dde7c07d97b91c150a7 to your computer and use it in GitHub Desktop.
Save rkoster/cb74a1aec3cb1dde7c07d97b91c150a7 to your computer and use it in GitHub Desktop.
Cloud Foundry docker broker concousre pipeline

Usage:

fly -t ${target} set-pipeline -n -p docker-broker \
  -c <(bosh int docker-broker-pipeline.yml --vars-file vars.yml)
resource_types:
- name: bosh2-deployment
type: docker-image
source:
repository: cloudfoundry/bosh-deployment-resource
tag: v2.4.0
resources:
- name: stemcell
type: bosh-io-stemcell
source:
name: bosh-vsphere-esxi-ubuntu-trusty-go_agent
- name: docker-broker-deployment
type: git
source:
branch: master
uri: https://github.com/cloudfoundry-community/docker-broker-deployment.git
# Uncomment when v1.0.1 has been cut
# tag_filter: v*
- name: bosh-docker-broker
type: bosh2-deployment
source:
deployment: docker-broker
target: ((bosh_target))
client: ((bosh_client))
client_secret: ((bosh_client_secret))
ca_cert: ((bosh_ca_cert))
jobs:
- name: deploy_docker_broker
public: true
plan:
- aggregate:
- get: docker-broker-deployment
- get: stemcell
- put: bosh-docker-broker
params:
manifest: docker-broker-deployment/docker-broker.yml
stemcells:
- stemcell/*.tgz
ops_files:
- docker-broker-deployment/op-cf-integration.yml
- docker-broker-deployment/services/op-mysql56.yml
- docker-broker-deployment/services/op-postgresql96.yml
- docker-broker-deployment/services/op-redis32.yml
vars:
broker-route-name: docker-broker
broker-route-uri: docker-broker.((system_domain))
cf-api-url: https://api.((system_domain))
cf-admin-username: admin
cf-skip-ssl-validation: true
cf-admin-password: ((/((director_name))/cf/uaa_scim_users_admin_password))
bosh_target:
bosh_client:
bosh_client_secret:
bosh_ca_cert:
system_domain:
director_name:
@drnic
Copy link

drnic commented May 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment