M
M
medoedoff2019-07-01 12:48:57
GitLab
medoedoff, 2019-07-01 12:48:57

GitLab-CI how to increase cache lifetime?

For tests, I cached the python packages from requirements.txt, but the cache lifetime is short and after some time, the installation of packages starts again, how can I increase the cache lifetime?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2019-07-01
@Zarom

In general, a cache does not have a parameter to its lifetime. Lives until the moment of its reset.
Is there a log with the reason for invalidating the cache? Maybe your cache is not synchronized between runners?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question