From 890b0d6477d86575923d259c30e32ed096daf306 Mon Sep 17 00:00:00 2001 From: Jacek Poreda Date: Mon, 27 Mar 2023 11:22:00 +0200 Subject: [PATCH] SONAR-18904 Add Performance QA task - Add new gradle module - Add TestSuite - Add AspectJ logic to store new measures Co-authored-by: Eric Giffon Co-authored-by: Antoine Vinot Co-authored-by: Alain Kermis --- .cirrus.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 9f0cddeecba..6810006b277 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -34,6 +34,9 @@ build_dependant_task_template: &BUILD_DEPENDANT_TASK_TEMPLATE nightly_task_template: &NIGHTLY_TASK_TEMPLATE only_if: $CIRRUS_BRANCH == $BRANCH_NIGHTLY +master_and_nightly_task_template: &MASTER_AND_NIGHTLY_TASK_TEMPLATE + only_if: $CIRRUS_BRANCH == $BRANCH_NIGHTLY || $CIRRUS_BRANCH == $BRANCH_MAIN + except_nightly_task_template: &EXCEPT_ON_NIGHTLY_TASK_TEMPLATE only_if: $CIRRUS_BRANCH != $BRANCH_NIGHTLY @@ -391,6 +394,24 @@ qa_ha_task: - ./private/cirrus/cirrus-qa.sh postgres <<: *DEFAULT_ARTIFACTS_TEMPLATE +qa_performance_task: + <<: *DEFAULT_TEMPLATE + <<: *BUILD_DEPENDANT_TASK_TEMPLATE + <<: *MASTER_AND_NIGHTLY_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: AnalysisPerformance + script: + - ./private/cirrus/cirrus-qa.sh postgres + <<: *DEFAULT_ARTIFACTS_TEMPLATE + # GitLab QA is executed in a dedicated task in order to not slow down the pipeline, as a GitLab on-prem server docker image is required. qa_gitlab_task: <<: *DEFAULT_TEMPLATE -- 2.39.5