From ba4c24a908c6500a97af4d2b5839e495a729ec08 Mon Sep 17 00:00:00 2001
From: nrbffs <git-ffs@nicoboehr.de>
Date: Fri, 5 Jun 2020 09:40:04 +0200
Subject: [PATCH] gitlab ci: cache the whole gluon directory

Now that we've moved the make update to its own stage, it makes sense to cache
the whole gluon directory between targets because it won't be overwritten by
make update.
---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa092ae20..e36ee6ca9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,7 +41,8 @@ update:
   cache:
     paths:
       - gluon/openwrt/dl
-    key: "build"
+      - gluon/openwrt/staging_dir
+    key: "build-$CI_COMMIT_REF_SLUG"
  
 target:ar71xx-generic:
   extends: .target
-- 
GitLab