Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add retry logic on git submodule loads
Sometimes a transient network error prevents git submodule loads from succeeding while building the docs site. Edit the `update_submodules.sh` script to add rudimentary retry logic. If `git submodule update` fails, retry the command for up to five attempts, with the time between retries increasing by five seconds each time. This change introduces this approach because it is not possible to configure HTTP request retries in the git config, nor is there a curl environment variable we can set to enable retries in git's `https://` transport.
- Loading branch information