[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 27/30] gitlab: add avocado asset caching
From: |
Alex Bennée |
Subject: |
[PATCH v3 27/30] gitlab: add avocado asset caching |
Date: |
Fri, 26 Jun 2020 19:13:54 +0100 |
These can be quite big so lets cache them. I couldn't find any nots on
ccache in the gitlab docs so I've just ignored it for now.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200622143204.12921-19-alex.bennee@linaro.org>
---
.gitlab-ci.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 17c3349dd9e..eb5b335c1e9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,12 @@ stages:
- build
- test
+# We assume GitLab has it's own caching set up for RPM/APT repositories so we
+# just take care of avocado assets here.
+cache:
+ paths:
+ - $HOME/avocado/data/cache
+
include:
- local: '/.gitlab-ci.d/edk2.yml'
- local: '/.gitlab-ci.d/opensbi.yml'
--
2.20.1
- Re: [PATCH v3 29/30] gitlab: limit re-builds of the containers, (continued)
[PATCH v3 24/30] gitlab: add acceptance testing to system builds, Alex Bennée, 2020/06/26
[PATCH v3 27/30] gitlab: add avocado asset caching,
Alex Bennée <=
[PATCH v3 22/30] tests/docker: add --registry support to tooling, Alex Bennée, 2020/06/26
[PATCH v3 25/30] tests/docker: add a linux-user testing focused image, Alex Bennée, 2020/06/26
Re: [PATCH v3 00/30] testing/next (gitlab, vm, docker), no-reply, 2020/06/26