]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-18769 Use t2.xlarge node for qa_ha task
authorJacek Poreda <jacek.poreda@sonarsource.com>
Thu, 31 Aug 2023 09:15:24 +0000 (11:15 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 1 Sep 2023 20:03:03 +0000 (20:03 +0000)
.cirrus.yml

index 9d65c241c297fbb46759d9fc0218a2d8d38dda29..d931748eb882d745a8a8af6ce79d1a30062bf767 100644 (file)
@@ -113,6 +113,13 @@ vm_instance_template: &VM_TEMPLATE
   cpu: 4
   memory: 8G
 
+t2xlarge_node_selector: &T2XLARGE_NODE_SELECTOR
+  nodeSelectorTerms:
+    - matchExpressions:
+        - key: node.kubernetes.io/instance-type
+          operator: In
+          values: t2.xlarge
+
 oracle_additional_container_template: &ORACLE_ADDITIONAL_CONTAINER_TEMPLATE
   name: oracle
   image: gvenzl/oracle-xe:21-faststart
@@ -432,6 +439,7 @@ qa_ha_task:
     memory: 10Gb
     additional_containers:
       - <<: *POSTGRES_ADDITIONAL_CONTAINER_TEMPLATE
+    <<: *T2XLARGE_NODE_SELECTOR
   env:
     QA_CATEGORY: HA
   script: