[gnome-games/cherry-pick-c803c1a7] CI: do not cache flatpak artifacts



commit bb74f4f6a9cc78a3aa6852200d62226d4a90f069
Author: Jordan Petridis <jordanpetridis protonmail com>
Date:   Tue Sep 11 11:47:38 2018 +0000

    CI: do not cache flatpak artifacts
    
    It just does not work... Gitlab zips the cache target which causes
    ostree to brake.
    
    But at least we can cache the sources instead.
    
    (cherry picked from commit c803c1a7bee2df6b34495993ad21bb2ed643a207)

 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5585892e..2e38f334 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,8 @@ flatpak:tests:
     - xvfb-run -a -s "-screen 0 1024x768x24" flatpak-builder --run unit-tests ${MANIFEST_PATH} 
games-unit-tests
   cache:
     paths:
-      - .flatpak-builder/cache/
+      - .flatpak-builder/downloads
+      - .flatpak-builder/git
 
 flatpak:app:
   image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
@@ -41,7 +42,8 @@ flatpak:app:
     expire_in: 30 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]