git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee6fdcf
)
comments
author
gggeek
<giunta.gaetano@gmail.com>
Tue, 7 Dec 2021 11:45:17 +0000
(11:45 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Tue, 7 Dec 2021 11:45:17 +0000
(11:45 +0000)
tests/ci/docker/entrypoint.sh
patch
|
blob
|
history
diff --git
a/tests/ci/docker/entrypoint.sh
b/tests/ci/docker/entrypoint.sh
index
b2c75c3
..
e3565ab
100644
(file)
--- 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