From: gggeek Date: Tue, 7 Dec 2021 11:45:17 +0000 (+0000) Subject: comments X-Git-Tag: plcapi-7.1-0~3^2~31 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=9c8899e2d0eacd484ad548ef24c2b55506193d7a comments --- diff --git a/tests/ci/docker/entrypoint.sh b/tests/ci/docker/entrypoint.sh index b2c75c3..e3565ab 100644 --- a/tests/ci/docker/entrypoint.sh +++ b/tests/ci/docker/entrypoint.sh @@ -57,6 +57,9 @@ sed -e "s?^listen.group =.*?listen.group = ${USERNAME}?g" --in-place "${FPMCONF} echo "[$(date)] Running Composer..." +# @todo if there is a composer.lock file present, there are chances it might be a leftover from when running the +# container using a different php version. We should then back it up / do some symlink magic to make sure that +# it matches the current php version and a hash of composer.json... sudo "${USERNAME}" -c "cd ${TESTS_ROOT_DIR} && composer install" trap clean_up TERM