Use symfony check:security to check composer packages

main
Igor Scheller 4 years ago
parent 02ba802d6b
commit e4a8bf0627

@ -110,11 +110,10 @@ audit-composer:
stage: test stage: test
needs: [ build-image ] needs: [ build-image ]
before_script: before_script:
- curl -sSo /usr/local/bin/security-checker https://get.sensiolabs.org/security-checker.phar - wget -qO - https://github.com/symfony/cli/releases/latest/download/symfony_linux_amd64.gz | gzip -d > /bin/symfony
- chmod +x /usr/local/bin/security-checker - chmod +x /bin/symfony
- cd "${DOCROOT}"
script: script:
- security-checker --no-ansi security:check - symfony check:security --no-ansi --dir "${DOCROOT}"
audit-yarn: audit-yarn:
image: node:alpine image: node:alpine

Loading…
Cancel
Save