aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2024-04-12 14:39:24 +0200
committersonartech <sonartech@sonarsource.com>2024-04-12 20:02:35 +0000
commit6d0efcc7475fbf341c25f0ad747bb1edd3addb84 (patch)
treef7a0e13897929fd755decc02a2f4664ec0983282
parentfd4670d7eef3cff8d22f50ff76795401aa213b27 (diff)
downloadsonarqube-6d0efcc7475fbf341c25f0ad747bb1edd3addb84.tar.gz
sonarqube-6d0efcc7475fbf341c25f0ad747bb1edd3addb84.zip
SONAR-22076 Increase ressources for yarn lint task on CI
-rw-r--r--.cirrus/.cirrus.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/.cirrus/.cirrus.yml b/.cirrus/.cirrus.yml
index 53da0b776d1..8996a6ff115 100644
--- a/.cirrus/.cirrus.yml
+++ b/.cirrus/.cirrus.yml
@@ -13,15 +13,15 @@ default_artifact_template: &DEFAULT_ARTIFACTS_TEMPLATE
find . -type f -wholename "**/build/test-results/test-jest/junit.xml" -exec
xmlstarlet edit --inplace --delete '//testsuite[@errors=0 and @failures=0]' {} \;
junit_artifacts:
- path: "**/build/test-results/**/*.xml"
- type: "text/xml"
+ path: '**/build/test-results/**/*.xml'
+ type: 'text/xml'
format: junit
reports_artifacts:
- path: "**/build/reports/**/*"
+ path: '**/build/reports/**/*'
screenshots_artifacts:
- path: "**/build/screenshots/**/*"
+ path: '**/build/screenshots/**/*'
log_artifacts:
- path: "**/build/**/*.log"
+ path: '**/build/**/*.log'
default_template: &DEFAULT_TEMPLATE
clone_script: |
@@ -46,12 +46,12 @@ cleanup_gradle_cache_script_template: &CLEANUP_GRADLE_CACHE_SCRIPT
yarn_cache_template: &YARN_CACHE_TEMPLATE
yarn_cache:
- folder: "~/.yarn/berry/cache"
+ folder: '~/.yarn/berry/cache'
fingerprint_script: cat server/sonar-web/yarn.lock
jar_cache_template: &JAR_CACHE_TEMPLATE
jar_cache:
- folder: "**/build/libs/*.jar"
+ folder: '**/build/libs/*.jar'
fingerprint_key: jar-cache_$CIRRUS_BUILD_ID
eslint_report_cache_template: &ESLINT_REPORT_CACHE_TEMPLATE
@@ -71,14 +71,14 @@ jest_report_cache_template: &JEST_REPORT_CACHE_TEMPLATE
junit_report_cache_template: &JUNIT_REPORT_CACHE_TEMPLATE
junit_report_cache:
folders:
- - "**/reports/jacoco"
- - "**/test-results/test"
+ - '**/reports/jacoco'
+ - '**/test-results/test'
fingerprint_script: echo $CIRRUS_BUILD_ID
build_cache_template: &BUILD_CACHE_TEMPLATE
build_cache:
folders:
- - "**/build/**/*"
+ - '**/build/**/*'
fingerprint_script: echo $CIRRUS_BUILD_ID
cache_dependencies_task:
@@ -113,7 +113,7 @@ yarn_lint_task:
container:
dockerfile: .cirrus/Dockerfile
cpu: 3
- memory: 4Gb
+ memory: 10Gb
<<: *DEFAULT_TEMPLATE
<<: *GRADLE_CACHE_TEMPLATE
<<: *YARN_CACHE_TEMPLATE