On 26/06/2020 20.13, Alex Bennée wrote:
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.ben...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>
Message-Id: <20200622143204.12921-19-alex.ben...@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

The test assets are not cached yet, in a second run I still got a lot of "Fetching asset from tests/acceptance/..." messages:

 https://gitlab.com/huth/qemu/-/jobs/615526057#L148

Could these also be chached?

 Thomas


Reply via email to