keter/bundles
2013-08-29 20:20:50 -05:00
..
bar Implement a simple battery of tests for wildcard hostnames. 2013-08-29 19:10:47 -05:00
baz Implement a simple battery of tests for wildcard hostnames. 2013-08-29 19:10:47 -05:00
foo Implement a simple battery of tests for wildcard hostnames. 2013-08-29 19:10:47 -05:00
qux Implement a simple battery of tests for wildcard hostnames. 2013-08-29 19:10:47 -05:00
make-bundles.sh Add simple keter bundle tests with wildcard assignments 2013-08-29 17:23:31 -05:00
readme.md Add simple keter bundle tests with wildcard assignments 2013-08-29 17:23:31 -05:00
run-tests.sh Increase the number of tests, removing every app bundle in reverse order. 2013-08-29 20:20:50 -05:00

These subfolders contain (nearly) empty example keter applications to be made into bundles for deployment. The goal of these different bundles is to ensure that adding and removing bundles is reproducible.

To this end, a structure of hostnames are reserved by the child applications. Each application also contains a script that will deploy it (on a system with the recommended default keter location), test that particular bundle's config, and un-deploy it.

Each bundle contains only a static "test" file that contains the name of the bundle. That file is then exposed to a variety of hostnames:

# foo.yaml
static-hosts:
    - host: foo.example.com
      root: ../static
    - host: foo.*.example.com
      root: ../static
    - host: foo.*.*.example.com
      root: ../static
    - host: foo.*.*.*.example.com
      root: ../static