Skip to content

Commit

Permalink
[sonarqube] update memory, cpu (#190547)
Browse files Browse the repository at this point in the history
Fixes a misplaced comma, bumps the node memory to half of the container.

https://buildkite.com/elastic/kibana-sonarqube/builds/12
  • Loading branch information
jbudz authored Sep 9, 2024
1 parent 3d8fad5 commit 3f14fca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .buildkite/pipelines/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ steps:
agents:
image: docker.elastic.co/cloud-ci/sonarqube/buildkite-scanner:latest
memory: 32G
cpu: 4
env:
SONAR_SCANNER_JAVA_OPTS: '-Xmx16384m'
command: /scan-source-code.sh
9 changes: 5 additions & 4 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sonar.projectKey=elastic_kibana_AYvOkAHeQZlFqhqWIr9Y
sonar.projectName=Kibana
sonar.host.url=https://sonar.elastic.dev

sonar.sourceEncoding=UTF-8
sonar.sources=\
packages, \
src, \
Expand Down Expand Up @@ -45,10 +45,11 @@ sonar.exclusions=\
**/test_data/**/*, \
**/test_mocks.ts, \
**/test_resources/**/*, \
**/test_helpers/**/*, \
**/tests/**/*, \
src/dev/**/*, \
x-pack/plugins/*/scripts/**/*, \
src/plugins/*/scripts/**/*, \
packages/*/scripts/**/*,

sonar.javascript.node.maxspace=8192
packages/*/scripts/**/*
sonar.coverage.exclusions=**
sonar.javascript.node.maxspace=16384

0 comments on commit 3f14fca

Please sign in to comment.