bitnami-containers/.vib/symfony/goss/symfony.yaml

17 lines
604 B
YAML

command:
check-composer-help:
exec: COMPOSER_ALLOW_SUPERUSER=1 composer --help
exit-status: 0
# Check that the version of symfony in the composer.json matches the current version
check-composer-json:
exec: export MINOR_VERSION=$(echo "{{ .Env.APP_VERSION }}" | cut -d "." -f-2); grep -P "\"extra\".*\"symfony\".*\"require\":\"${MINOR_VERSION}\.\*\"" /opt/bitnami/symfony/skeleton/composer.json
exit-status: 0
file:
/opt/bitnami/symfony/skeleton/symfony.lock:
exists: true
contains:
- symfony/webapp-pack
/opt/bitnami/symfony/skeleton/var/cache:
exists: false