Skip to content

Commit

Permalink
performance tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
Seppli11 committed Dec 17, 2024
1 parent 16c9750 commit 199eda6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ test_analyze_task:
depends_on:
- build
<<: *BUILD_CONTAINER_DEFINITION
eks_container:
cpu: 4
memory: 4G
<<: *ONLY_SONARSOURCE_QA
env:
# analysis on next
Expand All @@ -110,7 +113,7 @@ test_analyze_task:
maven_cache:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
analyze_script:
- git submodule update --init
- git submodule update --init --jobs 4
- cd python-frontend/typeshed_serializer/resources/python-type-stubs
- git sparse-checkout set stubs/sklearn
- git checkout
Expand Down Expand Up @@ -141,6 +144,7 @@ ws_scan_task:
depends_on:
- build
<<: *BUILD_CONTAINER_DEFINITION

# run only on master and long-term branches
only_if: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_TAG == "" && ($CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*")
env:
Expand Down Expand Up @@ -198,13 +202,14 @@ ruling_task:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
<<: *ORCHESTRATOR_CACHE_DEFINITION
submodules_script:
- git submodule update --init
- git submodule update --init --jobs 4
ruling_script:
- source cirrus-env QA
- source set_maven_build_version $BUILD_NUMBER
- cd its/ruling
- mvn verify -Dsonar.runtimeVersion=LATEST_RELEASE -Dmaven.test.redirectTestOutputToFile=false -B -e -V -Dtest=PythonRulingTest -Djunit.jupiter.execution.parallel.config.dynamic.factor=1
cleanup_before_cache_script: cleanup_maven_repository
cleanup_before_orchestrator_cache_script: bash .cirrus/clean-orchestrator-cache.sh

pr_analysis_qa_task:
depends_on:
Expand Down

0 comments on commit 199eda6

Please sign in to comment.