16 lines
563 B
YAML
16 lines
563 B
YAML
# Copyright VMware, Inc.
|
|
# SPDX-License-Identifier: APACHE-2.0
|
|
|
|
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/var/cache:
|
|
exists: false
|
|
|