]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-volume-nightly: archive ceph logs on failure 979/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 9 Mar 2018 13:01:29 +0000 (07:01 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 9 Mar 2018 13:51:34 +0000 (07:51 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-volume-nightly/build/teardown
ceph-volume-nightly/config/definitions/ceph-volume-nightly.yml

index 9650719d75a12daa1e6298522a7554b65851d1d8..1e9180a6256d29dbdc259b65d02ee63e32aba8d5 100644 (file)
@@ -9,6 +9,8 @@ scenarios=$(find . | grep Vagrantfile | xargs dirname)
 
 for scenario in $scenarios; do
     cd $scenario
+    # collect all ceph logs from all test nodes
+    collect_ceph_logs all
     vagrant destroy -f
     cd -
 done
index c55b44b67535e6fd706d5c1afa8f5ac6f7360087..f81f0d539c6d4de7c7990c54a173f7f556c962a3 100644 (file)
                 !include-raw-escape:
                   - ../../../scripts/build_utils.sh
                   - ../../build/teardown
+
+      - archive:
+          artifacts: 'logs/**'
+          allow-empty: true
+          latest-only: false
+
       - email:
           recipients: aschoen@redhat.com adeza@redhat.com