Browse Source

BUILD-2085 Migrate sonar-scanner-cli to the new cluster

tags/4.8.0.2856
David Rautureau 1 year ago
parent
commit
6b1b470f1f
2 changed files with 10 additions and 10 deletions
  1. 5
    0
      .cirrus.star
  2. 5
    10
      .cirrus.yml

+ 5
- 0
.cirrus.star View File

load("github.com/SonarSource/cirrus-modules@v1", "cirrus_auth")

def main(ctx):
return cirrus_auth()


+ 5
- 10
.cirrus.yml View File

aws_credentials:
role_arn: arn:aws:iam::275878209202:role/CirrusCI
role_session_name: cirrus
region: eu-central-1

# #
# ENV VARIABLES # ENV VARIABLES
# #
# #
eks_container: &EKS_CONTAINER eks_container: &EKS_CONTAINER
region: eu-central-1 region: eu-central-1
cluster_name: CirrusCI
cluster_name: ${CIRRUS_CLUSTER_NAME}
namespace: default namespace: default
image: 275878209202.dkr.ecr.eu-central-1.amazonaws.com/base:j11-m3-latest
image: ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/base:j11-m3-latest
cpu: 1 cpu: 1
memory: 2G memory: 2G


ec2_instance: &EC2_INSTANCE_WINDOWS ec2_instance: &EC2_INSTANCE_WINDOWS
experimental: true # see https://github.com/cirruslabs/cirrus-ci-docs/issues/1051 experimental: true # see https://github.com/cirruslabs/cirrus-ci-docs/issues/1051
region: eu-central-1 region: eu-central-1
subnet_id: subnet-063c427f490da35b9
subnet_id: ${CIRRUS_AWS_SUBNET}
type: t2.2xlarge type: t2.2xlarge
image: lt-base-windows-jdk11-v*
image: base-windows-jdk11-v*
platform: windows platform: windows


only_sonarsource_qa: &ONLY_SONARSOURCE_QA only_sonarsource_qa: &ONLY_SONARSOURCE_QA
<<: *ONLY_SONARSOURCE_QA <<: *ONLY_SONARSOURCE_QA
eks_container: eks_container:
<<: *EKS_CONTAINER <<: *EKS_CONTAINER
image: 275878209202.dkr.ecr.eu-central-1.amazonaws.com/base:j17-m3-latest
image: ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/base:j17-m3-latest
env: env:
matrix: matrix:
- SQ_VERSION: LATEST_RELEASE[8.9] - SQ_VERSION: LATEST_RELEASE[8.9]

Loading…
Cancel
Save