[gnome-kiosk/archive-the-logs] ci: Make sure the logs get saved in CI runs




commit 1d2de781efeeddeef17d6ef1aa1888aa75f6586a
Author: Ray Strode <rstrode redhat com>
Date:   Fri Jul 29 14:04:42 2022 -0400

    ci: Make sure the logs get saved in CI runs
    
    Right now if check-format succeeds we don't get access to the
    log output at all.
    
    This commit makes sure it gets saved.

 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 00035e4..7a40066 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,11 +29,12 @@ build-fedora:
                 - ninja -C $BUILD_ROOT
                 - ninja -C $BUILD_ROOT install
                 - ninja -C $BUILD_ROOT dist
+                - find -depth -type d -name '*.p' -exec rm -rf "{}" \;
         except:
                 - tags
         artifacts:
                 paths:
-                        - _build/meson-dist
+                        - _build
         only:
             - merge_requests
 
@@ -46,5 +47,9 @@ test-fedora:
                 - meson . $BUILD_ROOT --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--mandir=/usr/share/man --libdir=/usr/lib64
                 - ninja -C $BUILD_ROOT
                 - ninja -C $BUILD_ROOT test
+                - find -depth -type d -name '*.p' -exec rm -rf "{}" \;
+        artifacts:
+                paths:
+                        - _build
         only:
             - merge_requests


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]