Issue #3469687 by catch, fjgarlin: Reduce CPU requirements for core gitlab pipelines

merge-requests/9553/head
Dave Long 2024-09-20 11:33:38 +01:00
parent 2b536b6c97
commit 8877452481
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
1 changed files with 10 additions and 8 deletions

View File

@ -138,11 +138,11 @@ variables:
'🖱️️️ PHPUnit Functional Javascript':
<<: [ *with-composer, *run-tests, *default-job-settings ]
parallel: 2
parallel: 3
variables:
TESTSUITE: PHPUnit-FunctionalJavascript
CONCURRENCY: 8
KUBERNETES_CPU_REQUEST: "24"
CONCURRENCY: 5
KUBERNETES_CPU_REQUEST: "16"
services:
- <<: *with-database
- <<: *with-selenium-chrome
@ -156,8 +156,8 @@ variables:
parallel: 1
variables:
TESTSUITE: PHPUnit-FunctionalJavascript
CONCURRENCY: 15
KUBERNETES_CPU_REQUEST: "24"
CONCURRENCY: 6
KUBERNETES_CPU_REQUEST: "16"
MINK_DRIVER_ARGS_WEBDRIVER: $MINK_DRIVER_ARGS_WEBDRIVER_CHROMEDRIVER_NON_W3C
services:
- <<: *with-database
@ -172,10 +172,11 @@ variables:
'🌐️️ PHPUnit Functional':
<<: [ *with-composer, *run-tests, *default-job-settings ]
parallel: 7
parallel: 8
variables:
TESTSUITE: PHPUnit-Functional
KUBERNETES_CPU_REQUEST: "24"
CONCURRENCY: "5"
KUBERNETES_CPU_REQUEST: "16"
services:
- <<: *with-database
@ -185,6 +186,7 @@ variables:
variables:
TESTSUITE: PHPUnit-Kernel
KUBERNETES_CPU_REQUEST: "8"
CONCURRENCY: 12
services:
- <<: *with-database
@ -262,7 +264,7 @@ variables:
- chown -R www-data:www-data ./sites /var/www
- cd core
- corepack enable
- sudo -u www-data yarn run test:nightwatch --workers=4
- sudo -u www-data yarn run test:nightwatch --workers=3
after_script:
- cp /builds/chromedriver.log ./
artifacts: