A Concourse resource plugin for setting bosh cloud-config and runtime-config.
Ruby Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
gems
lib
scripts
spec
.gitignore
.rspec
Dockerfile
Gemfile
LICENSE
NOTICE.md
README.md
bosh_deployment_resource.gemspec
build.yml
empty-cloud-config.yml
empty-config.yml

README.md

BOSH Deployment Resource

An output only resource (at the moment) that will set runtime-config and cloud-config on a bosh director.

Source Configuration

  • type: Required. Must be runtime-config or cloud-config.
  • target: Required. The address of the BOSH director.

When using BOSH with default authentication:

  • username: Required. The username for the BOSH director.
  • password: Required. The password for the BOSH director.

When using BOSH with UAA authentication:

  • client_id: Required. The UAA client ID for the BOSH director.

  • client_secret: Required. The UAA client secret for the BOSH director.

  • ca_cert: Optional. CA certificate used to validate SSL connections to Director and UAA.

Resource Specification

  type: bosh-config
  source:
    target: https://bosh.example.com:25555
    username: admin
    password: admin
    type: runtime-config

Resource Type Specification

- name: bosh-config
  type: docker-image
  source:
    repository: dellemcdojo/bosh-config-resource

Behaviour

put: Update the runtime or cloud config

Parameters

  • manifest: Required. Path to the cloud/runtime config manifest.

  • releases: Required (runtime-config only). An array of globs that should point to where the releases used in the deployment can be found.

- put: staging
  params:
    manifest: path/to/manifest.yml
    releases:
    - path/to/releases-*.tgz
    - other/path/to/releases-*.tgz

get: NOT SUPPORTED

Using get for this resource type will result in a no-op. If you have a reasonable use case for get of a config, please let us know in a github issue.