@@ -75,6 +75,9 @@ orchestrator_cache_definition: &ORCHESTRATOR_CACHE_DEFINITION
75
75
76
76
build_task :
77
77
<< : *BUILD_CONTAINER_DEFINITION
78
+ eks_container :
79
+ cpu : 4
80
+
78
81
<< : *ONLY_SONARSOURCE_QA
79
82
env :
80
83
# analysis on next
@@ -97,6 +100,9 @@ test_analyze_task:
97
100
depends_on :
98
101
- build
99
102
<< : *BUILD_CONTAINER_DEFINITION
103
+ eks_container :
104
+ cpu : 4
105
+ memory : 4G
100
106
<< : *ONLY_SONARSOURCE_QA
101
107
env :
102
108
# analysis on next
@@ -109,12 +115,12 @@ test_analyze_task:
109
115
PGP_PASSPHRASE : VAULT[development/kv/data/sign data.passphrase]
110
116
maven_cache :
111
117
folder : ${CIRRUS_WORKING_DIR}/.m2/repository
112
- analyze_script :
113
- - git submodule update --init
118
+ submodules_script :
119
+ - git submodule update --init --jobs 4
114
120
- cd python-frontend/typeshed_serializer/resources/python-type-stubs
115
121
- git sparse-checkout set stubs/sklearn
116
122
- git checkout
117
- - cd -
123
+ analyze_script :
118
124
- source cirrus-env BUILD
119
125
- DEPLOY_PULL_REQUEST=false regular_mvn_build_deploy_analyze -DfailStubGenerationFast=true -P-release,-sign -Dsonar.analysisCache.enabled=true -Dskip.its=true
120
126
cleanup_before_cache_script : cleanup_maven_repository
@@ -126,13 +132,13 @@ build_win_task:
126
132
# windows cache is buggy if using ${CIRRUS_WORKING_DIR}
127
133
# Additionally "~" seems to resolve differently in the context of the cache and the context of the build_script below
128
134
folder : C:/.m2/repository
129
- build_script :
135
+ git_script :
130
136
- git config --global core.autocrlf input
131
137
- git submodule update --init --jobs 4
132
138
- cd python-frontend/typeshed_serializer/resources/python-type-stubs
133
- - git sparse-checkout set stubs/sklearn
139
+ - git sparse-checkout set stubs/sklearn
134
140
- git checkout
135
- - cd -
141
+ build_script :
136
142
- source cirrus-env CI
137
143
- unset SONARSOURCE_QA
138
144
- mvn.cmd package -Dmaven.repo.local=C:/.m2/repository -DskipTypeshed=true -DfailStubGenerationFast=true
@@ -141,6 +147,7 @@ ws_scan_task:
141
147
depends_on :
142
148
- build
143
149
<< : *BUILD_CONTAINER_DEFINITION
150
+
144
151
# run only on master and long-term branches
145
152
only_if : $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_TAG == "" && ($CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*")
146
153
env :
@@ -198,13 +205,14 @@ ruling_task:
198
205
folder : ${CIRRUS_WORKING_DIR}/.m2/repository
199
206
<< : *ORCHESTRATOR_CACHE_DEFINITION
200
207
submodules_script :
201
- - git submodule update --init
208
+ - git submodule update --init --jobs 4
202
209
ruling_script :
203
210
- source cirrus-env QA
204
211
- source set_maven_build_version $BUILD_NUMBER
205
212
- cd its/ruling
206
213
- mvn verify -Dsonar.runtimeVersion=LATEST_RELEASE -Dmaven.test.redirectTestOutputToFile=false -B -e -V -Dtest=PythonRulingTest -Djunit.jupiter.execution.parallel.config.dynamic.factor=1
207
214
cleanup_before_cache_script : cleanup_maven_repository
215
+ cleanup_before_orchestrator_cache_script : bash .cirrus/clean-orchestrator-cache.sh
208
216
209
217
pr_analysis_qa_task :
210
218
depends_on :
0 commit comments