openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject [incubator-openwhisk] branch master updated: Collect test reports as part of log collection (#3590)
Date Sun, 06 May 2018 01:18:57 GMT
This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new eeb220e  Collect test reports as part of log collection (#3590)
eeb220e is described below

commit eeb220e5490be1631babe2136dc146e71f3587e3
Author: Chetan Mehrotra <chetanm@apache.org>
AuthorDate: Sun May 6 06:48:53 2018 +0530

    Collect test reports as part of log collection (#3590)
---
 ansible/logs.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ansible/logs.yml b/ansible/logs.yml
index cfe84d4..3182199 100644
--- a/ansible/logs.yml
+++ b/ansible/logs.yml
@@ -38,6 +38,15 @@
         - activations
         - subjects
       when: "'db' not in exclude_logs_from"
+    - name: create "test reports" folder
+      file: path="{{ openwhisk_home }}/logs/test-reports" state=directory
+    - name: collect test reports
+      local_action: shell cp -r "{{ openwhisk_home }}/tests/build/{{ item }}" "{{ openwhisk_home
}}/logs/test-reports/"
+      with_items:
+        - reports
+        - test-results
+      ignore_errors: true
+      when: "'tests' not in exclude_logs_from"
 
 - hosts: all:!ansible
   serial: 1

-- 
To stop receiving notification emails like this one, please contact
csantanapr@apache.org.

Mime
View raw message