diff options
Diffstat (limited to 'tests/test-haskell-app.yml')
-rw-r--r-- | tests/test-haskell-app.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test-haskell-app.yml b/tests/test-haskell-app.yml new file mode 100644 index 0000000..69a25ae --- /dev/null +++ b/tests/test-haskell-app.yml | |||
@@ -0,0 +1,16 @@ | |||
1 | --- | ||
2 | - name: Deploy a Haskell app to clever | ||
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_haskell_entry_point: coucou-server | ||
12 | post_tasks: | ||
13 | - name: Check CC_RUN_COMMAND is present | ||
14 | fail: | ||
15 | msg: "CC_RUN_COMMAND env variable should be added for Haskell apps" | ||
16 | when: not clever_env.CC_RUN_COMMAND is defined | ||