ci: replace deprecated qa image with composer:2.10 and quote deploy credentials
This commit is contained in:
parent
4421d34a43
commit
a395037058
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue