ci: Retry submodule sync 2 more times before failing

This commit is contained in:
Angus Gratton 2019-02-21 10:48:55 +11:00 committed by Ivan Grokhotkov
parent 4e55490602
commit 04ed861eb8

View file

@ -596,6 +596,7 @@ check_submodule_sync:
variables: variables:
GIT_STRATEGY: clone GIT_STRATEGY: clone
before_script: *do_nothing_before before_script: *do_nothing_before
retry: 2
script: script:
# check if all submodules are correctly synced to public repostory # check if all submodules are correctly synced to public repostory
- git submodule update --init --recursive - git submodule update --init --recursive