[infra] npmjs mirror
Let's think about setting up an npmjs mirror.
Easy, we just need a server to host either Sonatype Nexus or JFrog Artifactory. I have experience with the first, but also wouldn't mind learning the latter... 😉
We could actually use either for even more mirroring/caching like eg docker or even some OS-packages!
nice! do they work on macos arm64? or need another mini pc?
I don't see why not, but let me do a quick POC on my machine.
Do we want to set this up only for the hosted servers so they have performance gains, or are they not in the same network?
Will try and get thunderbolt bridge working with our mac minis, so we can keep the registry private.
OK, but that would mean we only use it for hosted builds? If it works, I would like to use it for caching Docker-images and other stuff too -- this would mean some more independence from eg unstable Suse dependencies! But we might have to move some more builds to the hosted servers then. 🤔 But we can check that when we have it up and running.
What's the status on the bridge?
I like your thinking. Yes, we can start with caching in the hosted agents first. Re the bridge, I have the TB5 cable. Need to arrange a physical visit to connect the minis together. Note that they are already on the same network and can be referred with their tailscale names, although with the bridge there could be performance improvements.