aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test-configure-app.yml
diff options
context:
space:
mode:
authorClément Delafargue <39330590+clementd-fretlink@users.noreply.github.com>2020-06-30 16:31:26 +0200
committerGitHub <noreply@github.com>2020-06-30 16:31:26 +0200
commit90634ee04cc1a4ab983de6bf142f25978463bc4a (patch)
tree3b1fa1a9e85d57dbf4f4071321f9011343f40ac6 /tests/test-configure-app.yml
parent44e55b1d81f5defe28249d6b70b894c1ebad7c91 (diff)
parentdb630aaa8b261503076eb7320ee3cee5a5582be8 (diff)
downloadansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.tar.gz
ansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.tar.zst
ansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.zip
Merge pull request #72 from clementd-fretlink/noop-if-up-to-date
don't run `clever deploy` if the app is up-to-date
Diffstat (limited to 'tests/test-configure-app.yml')
-rw-r--r--tests/test-configure-app.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-configure-app.yml b/tests/test-configure-app.yml
index 15987fd..e9861a2 100644
--- a/tests/test-configure-app.yml
+++ b/tests/test-configure-app.yml
@@ -21,7 +21,7 @@
21 msg: "CC_RUN_COMMAND env variable should not be present in the environment dict" 21 msg: "CC_RUN_COMMAND env variable should not be present in the environment dict"
22 when: clever_env.CC_RUN_COMMAND is defined 22 when: clever_env.CC_RUN_COMMAND is defined
23 - name: Check stubbed commands 23 - name: Check stubbed commands
24 command: "{{ item.cmd }}" 24 shell: "{{ item.cmd }}"
25 ignore_errors: true 25 ignore_errors: true
26 vars: 26 vars:
27 display: "{{ item.display }}" 27 display: "{{ item.display }}"
@@ -34,7 +34,7 @@
34 display: "Expected 'clever domain' command to be called" 34 display: "Expected 'clever domain' command to be called"
35 - cmd: "grep drain ../clever-commands" 35 - cmd: "grep drain ../clever-commands"
36 display: "Expected 'clever drain' command to be called" 36 display: "Expected 'clever drain' command to be called"
37 - cmd: "grep -v restart ../clever-commands" 37 - cmd: "! grep restart ../clever-commands"
38 display: "Expected 'clever restart' command to NOT be called" 38 display: "Expected 'clever restart' command to NOT be called"
39 register: tests_results 39 register: tests_results
40 - name: show results 40 - name: show results