by LinuxBender · 3y ago · 0 comments
In my opinion it is far better for CI systems to just cache entire approved repositories and make sure none of the environments can reach the public repositories, ever. Assuming enough disk space this has the advantage of being able to create point-in-time snapshots on all of the repos which is quite handy for validating a point-in-time OS/Application update rather than trying to pin specific package versions, package-by-package. This allows validating a snapshot e.g. 202302091447_UTC and then promoting it to mirrors in a load testing environment, then the load testing team can promote it to a staging environment then the operations or devops teams can promote it to production. This also allows for more time to scan packages for malware, backdoors, etc... e.g. let the red/blue teams have a copy just prior to dev/qa This takes operational dependencies off the public mirrors and reduces network bandwidth costs. There was a point in time where bandwidth was expensive on some cloud providers. Putting snapshots in private VPC's in each region can reduce that cost.
No comments yet.