Skip to content

Commit

Permalink
BUILD-7099: use nodejs ARM image
Browse files Browse the repository at this point in the history
  • Loading branch information
hedinasr committed Dec 18, 2024
1 parent 35be788 commit 406c2da
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cirrus.star
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("github.com/SonarSource/cirrus-modules@5cd6425fdb78665f07284f2c12d495618a7bbc0a", "load_features") # 3.1.0

def main(ctx):
return load_features(ctx, only_if=dict())
return load_features(ctx, only_if=dict(), aws=dict(env_type="dev", cluster_name="CirrusCI-10-dev"))
8 changes: 7 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ env:
CIRRUS_SHELL: bash

eks_container_definition: &CONTAINER_DEFINITION
image: ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/base:node20-yarn2.4.3
image: ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/base:nodejs-j21-0.1
cluster_name: ${CIRRUS_CLUSTER_NAME}
region: eu-central-1
namespace: default
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64
docker_arguments:
CIRRUS_AWS_ACCOUNT: ${CIRRUS_AWS_ACCOUNT}

Expand Down
1 change: 1 addition & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ sonar.sourceEncoding=UTF-8
sonar.sources=src
sonar.tests=tests
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
sonar.scanner.skipJreProvisioning=true

0 comments on commit 406c2da

Please sign in to comment.