worker-windows job from concourse/7.4.4
The 'worker' nodes are what actually run Concourse workloads (builds, resource checking, etc). They register with Concourse via the SSH worker gateway running on the 'web' nodes.
Github source:
425a31f
or
master branch
Properties¶
baggageclaim
¶
bind_port
¶Port on which Baggageclaim should listen for HTTP traffic.
- Default
7788
driver
¶Driver to use for the volume store. One of detect, overlay, btrfs, or naive.
- Default
detect
drain_timeout
¶
Maximum wait time in Go duration format (1m = 1 minute) for worker drain to be finished. Only applies when worker is getting shutdown.
If not specified, it will be indefinite.
- Default
1h
ephemeral
¶
If set, the worker will immediately disappear upon stalling.
- Default
false
external_garden_url
¶
API endpoint of an externally managed Garden server to use instead of running the embedded Garden server.
garden
¶
request_timeout
¶How long to wait for requests to Garden to complete, in Go duration format (48h = 48 hours). 0 means no timeout.
- Example
5m
http_proxy_url
¶
Proxy to use for outgoing http requests from containers.
https_proxy_url
¶
Proxy to use for outgoing https requests from containers.
log_level
¶
The log level for the worker. When set to debug, you’ll see a lot more information.
- Default
info
no_proxy
¶
A list domains and IPs with optional port for which the proxy should be bypassed.
- Example
-
- localhost - 127.0.0.1 - example.com - domain.com:8080
sweep_interval
¶
Interval on which to destroy containers and volumes marked for garbage collection.
- Default
30s
tags
¶
An array of tags to advertise for each worker.
- Example
-
- special
team
¶
Register the worker for a single team.
If not specified, the worker will be shared across all teams.
worker_gateway
¶
host_public_key
¶Public key to verify for the TSA server. If not specified, the
web
link is used.
- Example
ssh-rsa ...
hosts
¶Addresses (host:port) of TSA servers to register with.
If not specified, the
web
link is used.
- Example
- localhost:2222 - example.com
rebalance_interval
¶The interval on which the worker will connect to a new SSH gateway and drain the old connection. This has the effect of rebalancing the forwarded workers across the SSH gateways over time.
- Example
4h
worker_key
¶SSH key to use when authenticating with the TSA.
- Example
private_key: |+ -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY----- public_key: ssh-rsa ...
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/worker-windows/
directory
(learn more).
bin/pre-start.ps1
(frompre-start.ps1.erb
)bin/start.ps1
(fromstart.ps1
)config/env.ps1
(fromenv.ps1.erb
)config/worker_gateway_host_key.pub
(fromworker_gateway_host_key.pub.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.