Skip to content
  • Thomas Huth's avatar
    5896c539
    gitlab-ci: Fix Avocado cache usage · 5896c539
    Thomas Huth authored
    
    
    In commit 6957fd98 ("gitlab: add avocado asset caching") we
    tried to save the Avocado cache (as in commit c1073e44 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: default avatarAlex Bennée <alex.bennee@linaro.org>
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
    5896c539
    gitlab-ci: Fix Avocado cache usage
    Thomas Huth authored
    
    
    In commit 6957fd98 ("gitlab: add avocado asset caching") we
    tried to save the Avocado cache (as in commit c1073e44 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: default avatarAlex Bennée <alex.bennee@linaro.org>
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Loading