qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 27/30] gitlab: add avocado asset caching


From: Thomas Huth
Subject: Re: [PATCH v3 27/30] gitlab: add avocado asset caching
Date: Mon, 29 Jun 2020 14:25:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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.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

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

[Prev in Thread] Current Thread [Next in Thread]