[gnome-photos/alatiera/ci-update: 2/2] CI: Cache sources



commit fbb1034ede0ce82ff7a0e727de81459a38cf8022
Author: Jordan Petridis <jpetridis gnome org>
Date:   Wed Sep 26 18:08:13 2018 +0300

    CI: Cache sources
    
    Do not try to cache .flatpak-builder/cache, it just does not work
    Gitlab zips its target which causes ostree to brake.
    Instead we can try to cache the git and download sources.

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52c96af1..36f21513 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,7 +44,8 @@ flatpak:
         expire_in: 2 days
     cache:
         paths:
-            - .flatpak-builder/cache
+            - .flatpak-builder/downloads
+            - .flatpak-builder/git
 
 review:
     stage: review


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