gitlab-ci: Fix Avocado cache usage
commit5896c5395476ca30caad6ddd48d4b9dca2c63c00
authorThomas Huth <thuth@redhat.com>
Thu, 30 Jul 2020 08:35:48 +0000 (30 10:35 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 5 Aug 2020 08:39:55 +0000 (5 10:39 +0200)
tree49e27692090e0e24ffdee05469ccce2567bfbcb1
parent699616db6465b01580d5ddea18887a562206d928
gitlab-ci: Fix Avocado cache usage

In commit 6957fd98dc ("gitlab: add avocado asset caching") we
tried to save the Avocado cache (as in commit c1073e44b4 with
Travis-CI) however it doesn't work as expected. For some reason
Avocado uses /root/avocado_cache/ which we can not select later.

Manually generate a Avocado config to force the use of the
current job's directory.

This patch is based on an earlier version from Philippe Mathieu-Daudé.

Message-Id: <20200730141326.8260-5-thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.yml