From 75c9cc3bf8e401530865f22c89eef33ffc852ef9 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 12 Jan 2021 18:05:41 +0000 Subject: [PATCH] CI: don't retry jobs We can't retry jobs blindly because if a build fails with warnings we want to fail the job. With retries enabled the job fails, but is immediately retried and builds quickly from sstate without any warnings. Thus, all and any warnings are hidden. Disabling retries. We may get occasional failures from Docker, we'll have to see how bad they are. Change-Id: Ib726f14a264c029fdf372fc1b8a02aca52bf5e4c Signed-off-by: Ross Burton --- .gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ae0aa3a..18f9ae18 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,6 @@ stages: # Common job fragment to get a worker ready .setup: - # Retry because the runner is flakey (see https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2890) - retry: 2 stage: build variables: KAS_WORK_DIR: $CI_PROJECT_DIR/work