Skip to content

Commit

Permalink
SLE-1003: Reassess CPU / memory for tasks (#778)
Browse files Browse the repository at this point in the history
Some tasks were hitting their CPU limit and needed more power, some tasks were running OOM sometimes because they needed more memory.

For some tasks having too many CPUs or too much memory assigned this was finetuned as well.
  • Loading branch information
thahnen authored Nov 28, 2024
1 parent 1841b5b commit d5d0a02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .cirrus.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ consistency_task:
<<: *ONLY_IF
eks_container:
<<: *BUILDER_CONTAINER_DEFINITION
cpu: 1
cpu: 2
memory: 2G
check_script: |
SLCORE_VERSION="$(maven_expression "sloop.version")"
Expand Down Expand Up @@ -152,7 +152,7 @@ validate_task:
eks_container:
<<: *BUILDER_CONTAINER_DEFINITION
cpu: 4
memory: 4G
memory: 6G
type: m6a.large
env:
DEPLOY_PULL_REQUEST: false
Expand Down Expand Up @@ -195,7 +195,7 @@ qa_connectedModeSonarQube_task:
eks_container:
<<: *BUILDER_CONTAINER_DEFINITION
cpu: 4
memory: 12G
memory: 16G
type: m6a.large
env:
ARTIFACTORY_API_KEY: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader access_token]
Expand Down Expand Up @@ -278,7 +278,7 @@ qa_connectedModeSonarCloud_task:
eks_container:
<<: *BUILDER_CONTAINER_DEFINITION
cpu: 4
memory: 10G
memory: 12G
type: m6a.large
env:
ARTIFACTORY_API_KEY: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader access_token]
Expand Down Expand Up @@ -351,7 +351,7 @@ qa_standaloneMode_task:
eks_container:
<<: *BUILDER_CONTAINER_DEFINITION
cpu: 4
memory: 10G
memory: 12G
type: m6a.large
env:
ARTIFACTORY_API_KEY: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader access_token]
Expand Down Expand Up @@ -495,7 +495,7 @@ mend_scan_task:
eks_container:
<<: *BUILDER_CONTAINER_DEFINITION
cpu: 4
memory: 8G
memory: 4G
type: m6a.large
env:
WS_APIKEY: VAULT[development/kv/data/mend data.apikey]
Expand Down
2 changes: 1 addition & 1 deletion .cirrus.ibuilds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ qa_ibuilds_task:
skip_notifications: true
eks_container:
<<: *BUILDER_CONTAINER_DEFINITION
cpu: 6
cpu: 4
memory: 12G
type: m6a.large
env:
Expand Down

0 comments on commit d5d0a02

Please sign in to comment.