mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-02-26 18:20:01 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user