From 9f97c444665e54e5ac51815597706411d2bb79f9 Mon Sep 17 00:00:00 2001 From: Guillaume Boutry Date: Wed, 4 Oct 2023 16:48:51 +0200 Subject: [PATCH] Ignore failure on missing microk8s reports If there is no microk8s failure, no report will be generated, ignore failure when no reports is found. Change-Id: I64524dd4f21f4b0b34173ef84a027abb87055f73 --- roles/collect-run-data/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/collect-run-data/tasks/main.yaml b/roles/collect-run-data/tasks/main.yaml index 740525b..0f1a53e 100644 --- a/roles/collect-run-data/tasks/main.yaml +++ b/roles/collect-run-data/tasks/main.yaml @@ -8,6 +8,7 @@ executable: /bin/bash shell: | cp /var/snap/microk8s/current/inspection-report-*.tar.gz "{{ zuul.project.src_dir }}/log/" + failed_when: false - name: debug logs replay args: executable: /bin/bash