]> source.dussan.org Git - sonarqube.git/commitdiff
[NO-JIRA] Better discrimate Gitlab task names
authorPhilippe Perrin <philippe.perrin@sonarsource.com>
Tue, 7 Feb 2023 09:12:45 +0000 (10:12 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 7 Feb 2023 20:47:56 +0000 (20:47 +0000)
.cirrus.yml

index e9eb0bc61ec57882be79c3df9e5fd9cb8689c379..58e6f5917f561d4f01b8fea7ffd66511457502f0 100644 (file)
@@ -405,6 +405,15 @@ qa_gitlab_task:
   depends_on:
     - build
     - docker_gitlab_container_build
+  env:
+    QA_CATEGORY: GITLAB
+  matrix:
+    - name: qa_gitlab_latest
+      env:
+        - GITLAB_VERSION: latest
+    - name: qa_gitlab_oldest
+      env:
+        - GITLAB_VERSION: 15.6.2-ce.0
   gke_container:
     <<: *GKE_CONTAINER_TEMPLATE
     cpu: 2.4
@@ -417,11 +426,7 @@ qa_gitlab_task:
           - 443
         cpu: 2
         memory: 5Gb
-        matrix:
-          - image: us.gcr.io/sonarqube-team/sq-gitlab:latest
-          - image: us.gcr.io/sonarqube-team/sq-gitlab:15.6.2-ce.0
-  env:
-    QA_CATEGORY: GITLAB
+        image: us.gcr.io/sonarqube-team/sq-gitlab:${GITLAB_VERSION}
   script:
     - ./private/cirrus/cirrus-qa.sh h2
   <<: *DEFAULT_ARTIFACTS_TEMPLATE