Message ID | 20230801130403.164060-5-berrange@redhat.com |
---|---|
State | New |
Headers | show |
Series | gitlab: speed up msys windows jobs with GCC | expand |
On 01/08/2023 15.03, Daniel P. Berrangé wrote: > The gitlab cache is limited to only handle content within the > $CI_PROJECT_DIR hierarchy, and as such relative paths are always > implicitly relative to $CI_PROJECT_DIR. > > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> > --- > .gitlab-ci.d/windows.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml > index 0bc04ad068..6454880cb7 100644 > --- a/.gitlab-ci.d/windows.yml > +++ b/.gitlab-ci.d/windows.yml > @@ -7,7 +7,7 @@ > cache: > key: "${CI_JOB_NAME}-cache" > paths: > - - ${CI_PROJECT_DIR}/msys64/var/cache > + - msys64/var/cache > needs: [] > stage: build > timeout: 80m Reviewed-by: Thomas Huth <thuth@redhat.com>
diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml index 0bc04ad068..6454880cb7 100644 --- a/.gitlab-ci.d/windows.yml +++ b/.gitlab-ci.d/windows.yml @@ -7,7 +7,7 @@ cache: key: "${CI_JOB_NAME}-cache" paths: - - ${CI_PROJECT_DIR}/msys64/var/cache + - msys64/var/cache needs: [] stage: build timeout: 80m
The gitlab cache is limited to only handle content within the $CI_PROJECT_DIR hierarchy, and as such relative paths are always implicitly relative to $CI_PROJECT_DIR. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> --- .gitlab-ci.d/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)