-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Select alternative apt mirror to get around the unstable original one #7
base: main
Are you sure you want to change the base?
Conversation
Thank you so much @rake5k! I hope you won't mind me asking you a few questions:
Thanks so much for your contribution! |
Good questions, @jlumbroso!
Thank you a lot for this GH action, I heavily rely on it 🙏🏻 |
Hello @rake5k, Just wanted to follow-up and see why you had closed this PR? I think the option of picking a different mirror for the packages is still a useful one, but I was looking into adding the configuration we discussed:
Do you not think this feature is useful anymore? Thank you! |
Hi @jlumbroso, Please excuse my unexpected closing of this PR, I thought it was not relevant anymore after merging #16. If you are still considering this change, I will implement your suggestions, of course. This weekend I am a little busy though, I hope to get on it soon (next week probably). |
Since the GitHub cloud runners are located in the US, 'US' is selected to be the default. Source: https://github.com/orgs/community/discussions/24969
4eef28c
to
211393a
Compare
Apt mirror selection tested with
|
This should fix #4.
Since this issue hits me in about every month's time, I ran a quick research on the root cause (e.g. actions/runner-images#7048).
The downside of this solution is clearly that we rely on an extra package (
apt-spy2
). That installation and the repository update take a few additional seconds to complete. But in my very personal case, the gained resiliency is definitely worth it.Log excerpt of an example run:
I hope, this helps others too.