Public | Automated Build

Last pushed: 3 months ago
Short Description
Casper seeding tool
Full Description


Configuration Automation for Safe and Painless Environment Releases


Casper is a simple tool for managing configurations as code where the structure of the configurations is separated from the values themselves. That way you can use the same structure for different environments. The structure of the configurations is described in a template file. Overall the tool combines the template file with all the values, serializes it to a format applicable for the configuration storage and pushes the changes to the storage.


From source

go get -u

From GitHub releases


cd examples/
casper build


All configurations can be given on the command line, with file or with environment variables. Check casper -h for full list.

  • template - The template file is a golang template. The end product of the template file and the values should be of a format applicable for the configuration storage (e.g: json, yaml for key/value stores)
  • sources - Sources are the thing containing the keys for the template. Sources is a list. Currently there are 2 available:
    • Config source is a list of key/value pairs directly in the configuration file. Check (config.yaml) for examples.
        - key1=val1
        - key2=val2
    • File source defines key/value pairs in a file. Currently supported formats are json and yaml.
        - file://source.yaml
  • storage - Storage is the system that Casper menages. Currently there are 2 available:
    • Consul.
        storage: consul
      • ignore - keys given the value of this setting in configuration will be ignored by Casper. The default such value is _ignore
    • File
        storage: file
        file-path: output.yaml
Docker Pull Command
Source Repository