Concourse CI resource for monitoring changes in Hashicorp Consul key value store
10M+
A very handy Concourse CI resource for watching and reacting to key/value changes in Hashicorp Consul.
A typical use case for this would be:
Watching is done recursively, i.e. "all keys under /path1" and "all keys under /path2", etc. The resource basically retrieves all key/value pairs from the given set of paths, and resource ref is a hash of key/value pairs sorted by key.
Docker image: https://hub.docker.com/r/aptomi/concourse-consul-resource
host: Required Hostname or IP address of Consulport: Optional, default 443 Consul portscheme: Optional, default https Consul schemetoken: Required Consul token to useprefixes: Required List of prefixes in Consul to watch. It will watch for changes in all keys starting with these prefixesresource_types:
- name: consul-hash
type: docker-image
source:
repository: aptomi/concourse-consul-resource
resources:
- name: consul
type: consul-hash
source:
host: consul.mycompany.com
token: f710a920-bb12-b356-ea1f-80f85f88f80b
prefixes:
- "aaa/bbb/ccc/ddd"
- "aaa/bbb/eee"
- "xxx/zzz"
get: Download the latest versionNo parameters.
To build the docker image for the resource:
python setup.py sdist
docker build -t <username>/concourse-consul-resource .
Content type
Image
Digest
Size
23.5 MB
Last updated
over 7 years ago
docker pull leboncoin/concourse-consul-resource