summaryrefslogtreecommitdiff
path: root/blubber.example.yaml
diff options
context:
space:
mode:
authorDan Duvall <dduvall@wikimedia.org>2017-04-25 16:29:58 -0700
committerDan Duvall <dduvall@wikimedia.org>2017-04-25 16:29:58 -0700
commit72a866a74aade72fd9b22a6f364a68193087e8f3 (patch)
tree35c33df8b389cffe917bd9bb86122f114dc448a0 /blubber.example.yaml
parentb993d5c7398fd5bba968d400d5731df7d321a557 (diff)
downloadblubber-72a866a74aade72fd9b22a6f364a68193087e8f3.tar.gz
Use a YAML config format instead of JSON
Diffstat (limited to 'blubber.example.yaml')
-rw-r--r--blubber.example.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/blubber.example.yaml b/blubber.example.yaml
new file mode 100644
index 0000000..0134062
--- /dev/null
+++ b/blubber.example.yaml
@@ -0,0 +1,33 @@
+---
+base: debian:jessie
+apt:
+ packages: [libjpeg, libyaml]
+npm:
+ install: true
+run:
+ in: /srv/service
+ as: runuser
+ uid: 666
+ gid: 666
+
+variants:
+ development:
+ apt:
+ packages: [libjpeg-dev, libyaml-dev]
+ sharedvolume: true
+
+ test:
+ includes: [development]
+ apt:
+ packages: [chromium]
+ entrypoint: [npm, test]
+
+ production:
+ base: debian:jessie-slim
+ npm:
+ env: production
+ artifacts:
+ - from: test
+ source: /srv/service
+ destination: .
+ entrypoint: [npm, start]