in reply to Best way to build dependencies in a CI?

Maybe a local CPAN mirror could help? You could update the mirror only when you really want updates (instead of updating daily or hourly). Then, point all cpan(m) instances to the local mirror.

Or, if all servers and dev machines use the same OS, build an OS-specific package (*.deb, *.rpm, whatever ...) with the required modules, and use the OS to install and update the packages from a local package repository.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: Best way to build dependencies in a CI?

Replies are listed 'Best First'.
Re^2: Best way to build dependencies in a CI?
by Dallaylaen (Chaplain) on Apr 12, 2019 at 11:30 UTC
    Well I'm thinking of both, leaning towards the second. Also thinking about trying out NIX package manager as we don't really need tight integration with the underlying system.