From 1b1be8f55a51af5de2c0ce5d50fb7fb2e65e4096 Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Wed, 21 Oct 2026 20:56:24 +0200 Subject: [PATCH] ci: integration test disables Composer security-advisory --- tests/integration.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/integration.sh b/tests/integration.sh index 6021676..efd3cec 100755 --- a/tests/integration.sh +++ b/tests/integration.sh @@ -29,7 +29,9 @@ docker run --rm "$IMAGE" sh -c 'php -v && composer -V && node -v && npm -v' echo "==> Creating Laravel project" rm -rf laravel -docker run --rm -v "$PWD:/app" -w /app "$IMAGE" \ +# Older Laravel releases (for PHP 8.1/8.2) are flagged by security advisories; +# this throwaway test project only checks that the image can serve Laravel. +docker run --rm -v "$PWD:/app" -w /app -e COMPOSER_NO_SECURITY_BLOCKING=1 "$IMAGE" \ composer create-project --prefer-dist --no-interaction --no-progress laravel/laravel laravel docker run --rm -v "$PWD/laravel:/var/www/html" "$IMAGE" \ chown -R www-data:www-data storage bootstrap/cache database