From 351765fbc860a54d0b8691f74555b04fde5416bb Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Fri, 19 Jun 2020 11:38:17 +0200 Subject: tests: Add more test cases --- tests/test-haskell-app.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/test-haskell-app.yml (limited to 'tests/test-haskell-app.yml') 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 @@ +--- +- name: Deploy a Haskell app to clever + hosts: localhost + remote_user: root + roles: + - role: clever + vars: + clever_token: 123abc + clever_secret: cba321 + clever_app: app_00000000-0000-0000-0000-000000000000 + clever_haskell_entry_point: coucou-server + post_tasks: + - name: Check CC_RUN_COMMAND is present + fail: + msg: "CC_RUN_COMMAND env variable should be added for Haskell apps" + when: not clever_env.CC_RUN_COMMAND is defined -- cgit v1.2.3