Message ID | 20200626181357.26211-28-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | testing/next (gitlab, vm, docker) | expand |
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
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'