ci: replace deprecated qa image with composer:2.10 and quote deploy credentials

This commit is contained in:
Jérémy Munsch 2026-08-21 16:52:29 +02:00
parent 4421d34a43
commit a395037058
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4

View file

@ -26,7 +26,7 @@ include:
# * LINT --------------------------------------------------------------------
.php-lint-base: &php-lint-base
image: $CI_REGISTRY/ldc-web/projets/ldc-web-images-docker/uwil-qa-8.5:latest
image: composer:2.10
variables:
COMPOSER_CACHE_DIR: ".composer-cache"
cache:
@ -39,7 +39,7 @@ include:
- .composer-cache/
- vendor/
before_script:
- composer config gitlab-token.lab.s-web.fr $CI_DEPLOY_USER $CI_DEPLOY_PASSWORD
- composer config gitlab-token.lab.s-web.fr "${CI_DEPLOY_USER}" "${CI_DEPLOY_PASSWORD}"
- composer install --no-interaction --optimize-autoloader --no-scripts
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
@ -94,7 +94,7 @@ phpstan:
tests_laravel:
stage: test
image: $CI_REGISTRY/ldc-web/projets/ldc-web-images-docker/uwil-qa-8.5:latest
image: composer:2.10
allow_failure: false
variables:
XDEBUG_MODE: coverage
@ -109,7 +109,7 @@ tests_laravel:
- .composer-cache/
- vendor/
before_script:
- composer config gitlab-token.lab.s-web.fr $CI_DEPLOY_USER $CI_DEPLOY_PASSWORD
- composer config gitlab-token.lab.s-web.fr "${CI_DEPLOY_USER}" "${CI_DEPLOY_PASSWORD}"
- composer install --no-interaction --prefer-dist --optimize-autoloader --no-scripts
script:
- cp .env.testing .env