Message ID | 20230801130403.164060-6-berrange@redhat.com |
---|---|
State | New |
Headers | show |
Series | gitlab: speed up msys windows jobs with GCC | expand |
On 01/08/2023 15.04, Daniel P. Berrangé wrote: > The cache is used to hold the msys installer. Even if the build phase > fails, we should still populate the cache as the installer will be > valid for next time. > > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> > --- > .gitlab-ci.d/windows.yml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml > index 6454880cb7..34109a80f2 100644 > --- a/.gitlab-ci.d/windows.yml > +++ b/.gitlab-ci.d/windows.yml > @@ -8,6 +8,7 @@ > key: "${CI_JOB_NAME}-cache" > paths: > - msys64/var/cache > + when: always > 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 6454880cb7..34109a80f2 100644 --- a/.gitlab-ci.d/windows.yml +++ b/.gitlab-ci.d/windows.yml @@ -8,6 +8,7 @@ key: "${CI_JOB_NAME}-cache" paths: - msys64/var/cache + when: always needs: [] stage: build timeout: 80m
The cache is used to hold the msys installer. Even if the build phase fails, we should still populate the cache as the installer will be valid for next time. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> --- .gitlab-ci.d/windows.yml | 1 + 1 file changed, 1 insertion(+)