Message ID | 20200622143204.12921-19-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show |
Series | testing/next (vm, gitlab) | expand |
On 6/22/20 4:32 PM, Alex Bennée wrote: > These can be quite big so lets cache them. I couldn't find any nots on typo "notes"? > 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> > --- > .gitlab-ci.yml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index 7816f1434c3..693ecad770f 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -14,6 +14,12 @@ include: > - local: '/.gitlab-ci.d/edk2.yml' > - local: '/.gitlab-ci.d/opensbi.yml' > > +# 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 > + > .update_apt_template: &before_script_apt > before_script: > - apt-get update -qq >
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7816f1434c3..693ecad770f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,12 @@ include: - local: '/.gitlab-ci.d/edk2.yml' - local: '/.gitlab-ci.d/opensbi.yml' +# 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 + .update_apt_template: &before_script_apt before_script: - apt-get update -qq
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> --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.20.1