sonic-buildimage
sonic-buildimage copied to clipboard
[build] Add retry to avoid network issues.
Why I did it
Makefile needs some dependencies from the Internet. It will fail for network related issue. Retries will fix most of these issues.
How I did it
Add retries when running commands which maybe related with networking.
How to verify it
Which release branch to backport (provide reason below if selected)
- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
Description for the changelog
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)
/azp run Azure.sonic-buildimage
Azure Pipelines successfully started running 1 pipeline(s).
/lgtm
@liushilongbuaa PR conflicts with 202106 branch
@liushilongbuaa PR conflicts with 202111 branch
@liushilongbuaa PR conflicts with 202205 branch
@liushilongbuaa PR conflicts with 202012 branch
Cherry-pick PR to 202211: https://github.com/sonic-net/sonic-buildimage/pull/13122