From cced2cb14736068d49668fd765196ee2c586fe8d Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 21 Feb 2019 10:48:55 +1100 Subject: [PATCH 1/2] ci: Retry submodule sync 2 more times before failing --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9783b79d2..fbcf3a692 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -765,6 +765,7 @@ check_submodule_sync: <<: *check_job_template variables: GIT_STRATEGY: clone + retry: 2 script: # check if all submodules are correctly synced to public repostory - git submodule update --init --recursive From 3ac43708e5c0d9bfd84b6f0c36a4df7a833a2d67 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 25 Feb 2019 10:41:39 +1100 Subject: [PATCH 2/2] ci: Only use "github_sync" tagged runners to talk to GitHub --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fbcf3a692..4a6bce1f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -763,6 +763,8 @@ check_ut_cmake_make: check_submodule_sync: <<: *check_job_template + tags: + - github_sync variables: GIT_STRATEGY: clone retry: 2