]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
cephadm-dashboard-e2e: archiving takes too long to fail 1990/head
authorNizamudeen A <nia@redhat.com>
Wed, 27 Apr 2022 06:37:56 +0000 (12:07 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 27 Apr 2022 06:37:56 +0000 (12:07 +0530)
If the provided pattern for eg: log/*.log is not found, archiving takes
way too longer to fail and that increased the job time to 1 hour on our
cephadm dashboard e2e jobs. Instead I added a pattern like log/** and
this way it immediately failed when there is no logs. (In cephadm
dashboard e2e, there
won't be any logs if the job is succesfull and the logs are saved only
when the job is failed)

Signed-off-by: Nizamudeen A <nia@redhat.com>
ceph-dashboard-cephadm-e2e-nightly/config/definitions/ceph-dashboard-cephadm-e2e-nightly.yml
ceph-dashboard-cephadm-e2e/config/definitions/ceph-dashboard-cephadm-e2e.yml

index f9c9f579c69212c1d24e7aaadff3f55c4fd16e73..9923d734d7116a806c6b140716b446a9e823a537 100644 (file)
@@ -71,6 +71,6 @@
       - email:
           recipients: ceph-qa@ceph.io
       - archive:
-          artifacts: 'logs/*.log'
+          artifacts: 'logs/**'
           allow-empty: true
           latest-only: false
index 0139483161e6dcb8b7c24bfa472d89255a1bca83..111fe8786f5626e3eb4842c6d2810ea2fda30db4 100644 (file)
@@ -85,6 +85,6 @@
 
     publishers:
       - archive:
-          artifacts: 'logs/*.log'
+          artifacts: 'logs/**'
           allow-empty: true
           latest-only: false