diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | tests/test-scalability.yml | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 752366f..d287c26 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -30,6 +30,7 @@ script: | |||
30 | - ansible-playbook tests/test-simple-app.yml -i tests/inventory | 30 | - ansible-playbook tests/test-simple-app.yml -i tests/inventory |
31 | - ansible-playbook tests/test-haskell-app.yml -i tests/inventory | 31 | - ansible-playbook tests/test-haskell-app.yml -i tests/inventory |
32 | - ansible-playbook tests/test-configure-app.yml -i tests/inventory | 32 | - ansible-playbook tests/test-configure-app.yml -i tests/inventory |
33 | - ansible-playbook tests/test-scalability.yml -i tests/inventory | ||
33 | 34 | ||
34 | notifications: | 35 | notifications: |
35 | slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB | 36 | slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB |
diff --git a/tests/test-scalability.yml b/tests/test-scalability.yml new file mode 100644 index 0000000..fefc86c --- /dev/null +++ b/tests/test-scalability.yml | |||
@@ -0,0 +1,37 @@ | |||
1 | --- | ||
2 | - name: Configure scalability (fixed instances and ranged flavors) | ||
3 | hosts: localhost | ||
4 | remote_user: root | ||
5 | roles: | ||
6 | - role: clever | ||
7 | vars: | ||
8 | clever_token: 123abc | ||
9 | clever_secret: cba321 | ||
10 | clever_app: app_00000000-0000-0000-0000-000000000000 | ||
11 | clever_scaling: | ||
12 | instances: { fixed: 1 } | ||
13 | flavors: { min: "nano", max: "XS" } | ||
14 | |||
15 | - name: Configure scalability (no instances and ranged flavors) | ||
16 | hosts: localhost | ||
17 | remote_user: root | ||
18 | roles: | ||
19 | - role: clever | ||
20 | vars: | ||
21 | clever_token: 123abc | ||
22 | clever_secret: cba321 | ||
23 | clever_app: app_00000000-0000-0000-0000-000000000000 | ||
24 | clever_scaling: | ||
25 | flavors: { min: "nano", max: "XS" } | ||
26 | |||
27 | - name: Configure scalability (incomplete flavors) | ||
28 | hosts: localhost | ||
29 | remote_user: root | ||
30 | roles: | ||
31 | - role: clever | ||
32 | vars: | ||
33 | clever_token: 123abc | ||
34 | clever_secret: cba321 | ||
35 | clever_app: app_00000000-0000-0000-0000-000000000000 | ||
36 | clever_scaling: | ||
37 | flavors: { min: "nano" } | ||