Skip to content

Commit

Permalink
Migrate deprecated cirrus-module v2 to v3 (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnaskos-sonar authored Oct 31, 2024
1 parent 1f92e49 commit c5bc9de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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@v2", "load_features")
load("github.com/SonarSource/cirrus-modules@v3", "load_features")

def main(ctx):
return load_features(ctx)
5 changes: 2 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,19 @@ only_main_branches: &ONLY_MAIN_BRANCHES
skip: "changesIncludeOnly('README.md')"
only_if: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_TAG == "" && ($CIRRUS_BRANCH == $CIRRUS_DEFAULT_BRANCH || $CIRRUS_BRANCH =~ "branch-.*")

eks_container: &CONTAINER_DEFINITION
container_definition: &CONTAINER_DEFINITION
image: ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/base:j17-latest
region: eu-central-1
cluster_name: ${CIRRUS_CLUSTER_NAME}
namespace: default
cpu: 4
memory: 4G

ec2_instance: &WINVM_DEFINITION
ec2_instance_definition: &WINVM_DEFINITION
experimental: true
image: base-windows-jdk17-v*
platform: windows
region: eu-central-1
subnet_id: ${CIRRUS_AWS_SUBNET}
type: t3.large

maven_cache: &MAVEN_CACHE
Expand Down

0 comments on commit c5bc9de

Please sign in to comment.