1
- gcp_credentials : ENCRYPTED[!149d4005ecdba4cdd78bb5ba22756ebb98bf8e3367ee2e9ab08c5a1608c0d3e3b501904b67a1d67c0b63085e469d7dde!]
2
-
3
1
env :
4
2
CIRRUS_VAULT_URL : https://vault.sonar.build:8200
5
3
CIRRUS_VAULT_AUTH_PATH : jwt-cirrusci
22
20
CIRRUS_SHELL : bash
23
21
24
22
container_definition : &CONTAINER_DEFINITION
25
- image : eu.gcr.io/release-engineering-ci-prod /base:j11-latest
26
- cluster_name : cirrus-ci
27
- zone : europe-west4-b
23
+ image : ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com /base:j11-latest
24
+ cluster_name : ${CIRRUS_CLUSTER_NAME}
25
+ region : eu-central-1
28
26
namespace : default
29
27
30
28
win_vm_definition : &WINDOWS_VM_DEFINITION
31
- gce_instance :
32
- image_project : release-engineering- ci-prod
33
- image_family : lt- base-windows-jdk11
29
+ ec2_instance :
30
+ experimental : true # see https://github.com/cirruslabs/cirrus- ci-docs/issues/1051
31
+ image : base-windows-jdk11-v*
34
32
platform : windows
35
- zone : europe-west4-b
36
- preemptible : false
37
- disk : 80
38
- type : n1-standard-4
33
+ region : eu-central-1
34
+ type : t3.xlarge
35
+ subnet_id : ${CIRRUS_AWS_SUBNET}
39
36
40
37
only_sonarsource_qa : &ONLY_SONARSOURCE_QA
41
38
only_if : $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_TAG == "" && ($CIRRUS_PR != "" || $CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*" || $CIRRUS_BRANCH =~ "dogfood-on-.*")
42
39
43
40
build_task :
44
- gke_container :
41
+ eks_container :
45
42
<< : *CONTAINER_DEFINITION
46
43
cpu : 2
47
44
memory : 2G
@@ -63,7 +60,7 @@ build_task:
63
60
ws_scan_task :
64
61
depends_on :
65
62
- build
66
- gke_container :
63
+ eks_container :
67
64
<< : *CONTAINER_DEFINITION
68
65
cpu : 2
69
66
memory : 2G
@@ -100,7 +97,7 @@ plugin_qa_task:
100
97
depends_on :
101
98
- build
102
99
<< : *ONLY_SONARSOURCE_QA
103
- gke_container :
100
+ eks_container :
104
101
<< : *CONTAINER_DEFINITION
105
102
cpu : 3
106
103
memory : 8G
@@ -121,7 +118,7 @@ ruling_task:
121
118
depends_on :
122
119
- build
123
120
<< : *ONLY_SONARSOURCE_QA
124
- gke_container :
121
+ eks_container :
125
122
<< : *CONTAINER_DEFINITION
126
123
cpu : 4
127
124
memory : 8G
@@ -144,7 +141,7 @@ promote_task:
144
141
- ruling
145
142
- plugin_qa
146
143
<< : *ONLY_SONARSOURCE_QA
147
- gke_container :
144
+ eks_container :
148
145
<< : *CONTAINER_DEFINITION
149
146
cpu : 0.5
150
147
memory : 500M
0 commit comments