symbols: add retry option to deal with IPV6 issues on WSL2
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: asdine
When running sg on WSL2, the enterprise-symbols step fails with the following error:
...
#7 20.92 + curl https://codeload.github.com/universal-ctags/ctags/tar.gz/f95bb3497f53748c2b6afc7f298cff218103ab90
#7 20.99 % Total % Received % Xferd Average Speed Time Time Time Current
#7 20.99 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0curl: (6) Could not resolve host: codeload.github.com
...
After some research it seems related to the way Docker on Windows deals with IP V6 addresses. Adding a retry seems to fix the issue
I have been using it for a week now and everything seems fine.
Push commits to the source branch or add previously merged commits to review them.