aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek Poreda <jacek.poreda@sonarsource.com>2023-10-11 16:06:14 +0200
committersonartech <sonartech@sonarsource.com>2023-11-20 20:02:53 +0000
commit528b529ff0bdf09956348f7cf37602e8ebc4bb13 (patch)
treed505c3a948138536859c1d2ab5f62dcce9bebed6
parentdbdf656f8ec260f7ff95b8d9e598c447815dc8a9 (diff)
downloadsonarqube-528b529ff0bdf09956348f7cf37602e8ebc4bb13.tar.gz
sonarqube-528b529ff0bdf09956348f7cf37602e8ebc4bb13.zip
SONAR-21034 Split HA cluster tests
(cherry-picked from 9f7b19f79d59ea2066e344acf211876e4bdcac17)
-rw-r--r--.cirrus.yml22
1 files changed, 20 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 31481914e97..ff697d440a5 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -370,7 +370,7 @@ qa_bb_cloud_task:
- ./private/cirrus/cirrus-qa.sh h2
<<: *DEFAULT_ARTIFACTS_TEMPLATE
-qa_ha_task:
+qa_ha_cluster_task:
<<: *DEFAULT_TEMPLATE
<<: *BUILD_DEPENDANT_TASK_TEMPLATE
<<: *MASTER_OR_NIGHTLY_OR_MAINTENANCE_TASK_TEMPLATE
@@ -383,7 +383,25 @@ qa_ha_task:
additional_containers:
- <<: *POSTGRES_ADDITIONAL_CONTAINER_TEMPLATE
env:
- QA_CATEGORY: HA
+ QA_CATEGORY: HA_CLUSTER
+ script:
+ - ./private/cirrus/cirrus-qa.sh postgres
+ <<: *DEFAULT_ARTIFACTS_TEMPLATE
+
+qa_ha_elasticsearch_task:
+ <<: *DEFAULT_TEMPLATE
+ <<: *BUILD_DEPENDANT_TASK_TEMPLATE
+ <<: *MASTER_OR_NIGHTLY_OR_MAINTENANCE_TASK_TEMPLATE
+ <<: *JAR_CACHE_TEMPLATE
+ <<: *GRADLE_CACHE_TEMPLATE
+ eks_container:
+ <<: *CONTAINER_TEMPLATE
+ cpu: 2.4
+ memory: 10Gb
+ additional_containers:
+ - <<: *POSTGRES_ADDITIONAL_CONTAINER_TEMPLATE
+ env:
+ QA_CATEGORY: HA_ELASTICSEARCH
script:
- ./private/cirrus/cirrus-qa.sh postgres
<<: *DEFAULT_ARTIFACTS_TEMPLATE