]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-volume-ansible-prs: archive ceph logs on failure
authorAndrew Schoen <aschoen@redhat.com>
Fri, 9 Mar 2018 13:01:01 +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-ansible-prs/build/teardown
ceph-volume-ansible-prs/config/definitions/ceph-volume-pr.yml

index dff05e9443c32be6e5046622268dee84da327b16..6eb73ad85bb65674334c7e86c5885f5aff27c889 100644 (file)
@@ -14,6 +14,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 8e4666910af89674abcee96ed127fcaca597a3a3..4de002b30106cec730a90be24ce38e23de7242f5 100644 (file)
                 !include-raw-escape:
                   - ../../../scripts/build_utils.sh
                   - ../../build/teardown
+
+      - archive:
+          artifacts: 'logs/**'
+          allow-empty: true
+          latest-only: false