Hacker News new | ask | show | jobs
by beilabs 2442 days ago
So my CI environment requires access to other docker images, all hosted on Docker Hub.

Seems like the tech giants should load balance these images for the good of the Internet to provide some decent redundancy and for my sanity at 11.30pm.

3 comments

Whenever one of our essential 3rd party services go down, I can only shrug and hope they figure it out quickly. They provide a good service and nobody has 100% uptime. Still better than solving it internally, which is even more likely to have downtime.

Partial failure is just fact of life. If this is a major issue for your process, it might be better to try and find ways to alter your process so this isn't an issue. Alternatively, mirror locally.

You're absolutely right.

Being honest no build is worth losing sleep over. We are piggybacking on their service and bandwidth. For us to start building the infrastructure to cache their images doesn't make financial sense, we deploy daily and their uptime always allows for that.

No, you should rewrite your CI not to depend on external stuff, if you want sane evenings.
If you are getting paid to do CI you are simply doing it wrong.

Rule #1 Host your own stuff, never rely on others.

Rule #2 automate everything