[librsvg: 3/5] Reduce artifacts size




commit added2a413ab597920e493a40c06232e7d605854
Author: Dunja Lalic <dunja lalic gmail com>
Date:   Tue Oct 6 21:28:13 2020 +0200

    Reduce artifacts size
    
     - for acceptance test upload the tests output images
    -  for release build upload the generated tarball

 .gitlab-ci.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c86e8383..812eb252 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -123,7 +123,8 @@ cargo_test:
     - sudo -E make check
   artifacts:
     when: 'always'
-    untracked: true
+    paths:
+      - tests/output
     expire_in: 1 day
   rules:
     - if: '$CI_PIPELINE_SOURCE == "push"'
@@ -173,6 +174,11 @@ release:
     - sudo ./autogen.sh --enable-gtk-doc --enable-vala
     - sudo -E make
     - sudo -E make distcheck
+  artifacts:
+    when: 'on_success'
+    paths:
+      - librsvg-*.tar.xz
+    expire_in: 1 week
   rules:
     - if: '$CI_PIPELINE_SOURCE == "push"'
       when: manual


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