From c7dd601bb9bc41c3374d18a25cb19cdea426d66b Mon Sep 17 00:00:00 2001
From: Alex Iribarren <Alex.Iribarren@cern.ch>
Date: Mon, 17 Jan 2022 11:30:35 +0100
Subject: [PATCH] But can only retry twice...

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8366eafea..dc531481a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ build_test:
     # Use double quotes so variable interpolation works, but this requires scaping JSON patch
     - oc patch buildconfig linux-docs -p "{\"spec\":{\"source\":{\"git\":{\"ref\":\"$CI_COMMIT_REF_NAME\"}}}}"
     - *common_script
-  retry: 3
+  retry: 2
   except:
     - master
   variables:
@@ -41,7 +41,7 @@ build_prod:
     - *common_functions
   script:
     - *common_script
-  retry: 3
+  retry: 2
   variables:
     <<: *prod_variables
   only:
@@ -59,7 +59,7 @@ sync test with prod:
     # Use double quotes so variable interpolation works, but this requires scaping JSON patch
     - oc patch buildconfig linux-docs -p "{\"spec\":{\"source\":{\"git\":{\"ref\":\"$CI_COMMIT_REF_NAME\"}}}}"
     - *common_script
-  retry: 3
+  retry: 2
   only:
     - master
   variables:
-- 
GitLab