From fd2e4788a034e76b25001dc11d56e05ba9f428b5 Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Tue, 23 Jun 2020 10:52:52 +0200 Subject: tests: Add tests for the new 'restart' feature --- tests/test-all.yml | 6 ++++++ tests/test-restart-app.yml | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/test-all.yml create mode 100644 tests/test-restart-app.yml (limited to 'tests') diff --git a/tests/test-all.yml b/tests/test-all.yml new file mode 100644 index 0000000..64eb239 --- /dev/null +++ b/tests/test-all.yml @@ -0,0 +1,6 @@ +--- +- import_playbook: ./test-simple-app.yml +- import_playbook: ./test-configure-app.yml +- import_playbook: ./test-haskell-app.yml +- import_playbook: ./test-scalability.yml +- import_playbook: ./test-restart-app.yml diff --git a/tests/test-restart-app.yml b/tests/test-restart-app.yml new file mode 100644 index 0000000..09d9936 --- /dev/null +++ b/tests/test-restart-app.yml @@ -0,0 +1,11 @@ +--- +- name: Restart app on 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_restart_only: true -- cgit v1.2.3