Ajout de la limite de mémoire pour Composer et nettoyage du cache avant l'installation, suppression de la construction dans le job vue-tsc

This commit is contained in:
Boris Waaub
2026-02-04 16:50:48 +01:00
parent d14c88deae
commit af74fd1fd8

View File

@@ -96,10 +96,13 @@ mirror_chill_zimbra_bundle:
build:
stage: Composer install
image: chill/base-image:8.3-edge
variables:
COMPOSER_MEMORY_LIMIT: 3G
before_script:
- composer config -g cache-dir "$(pwd)/.cache"
script:
- composer install --optimize-autoloader --no-ansi --no-interaction --no-progress
- php bin/console cache:clear
cache:
paths:
- .cache/
@@ -188,8 +191,6 @@ vue_tsc:
- export PATH="./node_modules/.bin:$PATH"
script:
- yarn install --ignore-optional
- php bin/console cache:clear
- yarn build
- yarn vue-tsc --noEmit > vue-tsc-report.txt 2>&1 || true
- cat vue-tsc-report.txt
- grep -q "error" vue-tsc-report.txt && exit 2 || exit 0