diff options
author | Jacek Poreda <jacek.poreda@sonarsource.com> | 2023-03-27 11:22:00 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-04-04 20:03:15 +0000 |
commit | 890b0d6477d86575923d259c30e32ed096daf306 (patch) | |
tree | 5b7bfe88283e1efdb2df1d24bb745de8335f565e | |
parent | ff850053fc465a50c800eb7cd1ca1a922695da2e (diff) | |
download | sonarqube-890b0d6477d86575923d259c30e32ed096daf306.tar.gz sonarqube-890b0d6477d86575923d259c30e32ed096daf306.zip |
SONAR-18904 Add Performance QA task
- Add new gradle module
- Add TestSuite
- Add AspectJ logic to store new measures
Co-authored-by: Eric Giffon <eric.giffon@sonarsource.com>
Co-authored-by: Antoine Vinot <antoine.vinot@sonarsource.com>
Co-authored-by: Alain Kermis <alain.kermis@sonarsource.com>
-rw-r--r-- | .cirrus.yml | 21 |
1 files changed, 21 insertions, 0 deletions
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 |