From 9ab1b8964dd466bcfbd06f195dae9d09856a2b39 Mon Sep 17 00:00:00 2001
From: lewa <lene.wasskog@nibio.no>
Date: Thu, 7 Sep 2023 15:34:58 +0200
Subject: [PATCH] chore: Add second verify stage to debug strange gitlab
 behaviour

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9962683..d9788cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,8 @@ stages:
   - build
   - test
   - deploy
-  - verify
+  - verify-1
+  - verify-2
 
 variables:
   MAVEN_CLI_OPTS: "-s ci_settings.xml --batch-mode"
@@ -48,7 +49,7 @@ deploy-snapshot:
 # which builds model with the new version of VIPSCommon. This pipeline fails if model build fails.
 
 verify_model_APPLESCABM:
-  stage: verify
+  stage: verify-1
   image: registry.gitlab.com/finestructure/pipeline-trigger
   script:
     - apk add --no-cache openjdk11
@@ -60,7 +61,7 @@ verify_model_APPLESCABM:
     - if: '$CI_COMMIT_REF_NAME == $MAIN_BRANCH'
 
 verify_model_ALTERNARIA:
-  stage: verify
+  stage: verify-1
   image: registry.gitlab.com/finestructure/pipeline-trigger
   script:
     - apk add --no-cache openjdk11
@@ -72,7 +73,7 @@ verify_model_ALTERNARIA:
     - if: '$CI_COMMIT_REF_NAME == $MAIN_BRANCH'
 
 verify_model_NAERSTADMO:
-  stage: verify
+  stage: verify-1
   image: registry.gitlab.com/finestructure/pipeline-trigger
   script:
     - apk add --no-cache openjdk11
@@ -85,7 +86,7 @@ verify_model_NAERSTADMO:
 
 
 verify_model_MAMESTRABR:
-  stage: verify
+  stage: verify-2
   image: registry.gitlab.com/finestructure/pipeline-trigger
   script:
     - apk add --no-cache openjdk11
@@ -97,7 +98,7 @@ verify_model_MAMESTRABR:
     - if: '$CI_COMMIT_REF_NAME == $MAIN_BRANCH'
 
 verify_model_PSILARTEMP:
-  stage: verify
+  stage: verify-2
   image: registry.gitlab.com/finestructure/pipeline-trigger
   script:
     - apk add --no-cache openjdk11
-- 
GitLab