Skip to content

groundcrew job from concourse/1.0.1

The ground crew registers a Garden worker with the ATC on an interval, advertises supported resource types, and cleans up ephemeral containers on shutdown.

Github source: 3a9a5e6e or master branch

Properties

additional_resource_types

Additional resource types that will be merged into resource_types. The same format is used.

Default
[]

baggageclaim

forward_address

Baggageclaim server connection address to forward through SSH to the TSA.

If not specified, the Baggageclaim server address is registered directly.

url

Baggageclaim server URL to advertise directly to the TSA.

If not specified, either the baggageclaim link is used.

garden

address

Garden server connection address to advertise directly to the TSA.

If not specified, either the garden link is used, or the instance’s address is advertised if the link is not found.

forward_address

Garden server connection address to forward through SSH to the TSA.

If not specified, the Garden server address is registered directly.

http_proxy_url

Proxy to use for outgoing http requests from containers.

https_proxy_url

Proxy to use for outgoing https requests from containers.

no_proxy

A list domains and IPs with optional port for which the proxy should be bypassed, e.g. [localhost, 127.0.0.1, example.com, domain.com:8080]

Default
[]

platform

Platform to advertise for each worker.

Default
linux

resource_types

Resource types supported by the workers, in [{type: string, image: string}] form.

Default
  - image: /var/vcap/packages/archive_resource
    type: archive
  - image: /var/vcap/packages/cf_resource
    type: cf
  - image: /var/vcap/packages/docker_image_resource
    type: docker-image
  - image: /var/vcap/packages/git_resource
    type: git
  - image: /var/vcap/packages/s3_resource
    type: s3
  - image: /var/vcap/packages/semver_resource
    type: semver
  - image: /var/vcap/packages/time_resource
    type: time
  - image: /var/vcap/packages/tracker_resource
    type: tracker
  - image: /var/vcap/packages/pool_resource
    type: pool
  - image: /var/vcap/packages/vagrant_cloud_resource
    type: vagrant-cloud
  - image: /var/vcap/packages/github_release_resource
    type: github-release
  - image: /var/vcap/packages/bosh_io_release_resource
    type: bosh-io-release
  - image: /var/vcap/packages/bosh_io_stemcell_resource
    type: bosh-io-stemcell
  - image: /var/vcap/packages/bosh_deployment_resource
    type: bosh-deployment

tags

An array of tags to advertise for each worker.

Default
[]

tsa

host

IP or DNS address of the TSA server to register with.

If not specified, the tsa link is used.

host_public_key

Host key to verify for the TSA server. If not specified, a deployment-scoped default is used.

Default
""

port

Port of the TSA server to register with.

Only used when tsa.host is also specified. Otherwise the port is autodiscovered via the tsa link.

Default
2222

private_key

Private key to use when authenticating with the TSA. If not specified, a deployment-scoped default is used.

Default
""

yeller

api_key

API key to output errors from Concourse to Yeller.

Default
""

environment_name

Environment name you wish to group errors under in yeller.

Default
""

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/groundcrew/ directory (learn more).

  • bin/beacon_ctl (from beacon_ctl.erb)
  • bin/jettison_ctl (from jettison_ctl.erb)
  • config/private_key (from private_key.erb)
  • config/static_known_hosts (from static_known_hosts.erb)
  • config/worker.json (from worker.json.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.