mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:36:13 +01:00
[BUGFIX] Enhance container documentation rendering (#1294)
The new php based rendering container has been added recently to render the documentation. The image come with a internal uid/gid switch to mitigate permission issues with docker due to a missimplementation, which podman not suffers by proper using the kernal namespacing. This change ensures to create a folder before hand with the correct permissions to mitigate this for docker. On top of that, the external user set is added for the direct invokiation and also the interactive switch to avoid failure in CI context usages. To avoid permission issues with previously created folder, a `chown` command is added to ensure correct permission on that folder. Resolves: #1283
This commit is contained in:
parent
fbb7e0c930
commit
7bff3fc341
1 changed files with 3 additions and 1 deletions
|
@ -520,7 +520,9 @@ case ${TEST_SUITE} in
|
||||||
SUITE_EXIT_CODE=$?
|
SUITE_EXIT_CODE=$?
|
||||||
;;
|
;;
|
||||||
docsGenerate)
|
docsGenerate)
|
||||||
${CONTAINER_BIN} run --rm --pull always -v "$(pwd)":/project -it ${IMAGE_DOCS} --config=Documentation --fail-on-log
|
mkdir -p Documentation-GENERATED-temp
|
||||||
|
chown -R ${HOST_UID}:${HOST_PID} Documentation-GENERATED-temp
|
||||||
|
${CONTAINER_BIN} run ${CONTAINER_INTERACTIVE} --rm --pull always ${USERSET} -v "${ROOT_DIR}":/project ${IMAGE_DOCS} --config=Documentation --fail-on-log
|
||||||
SUITE_EXIT_CODE=$?
|
SUITE_EXIT_CODE=$?
|
||||||
;;
|
;;
|
||||||
functional)
|
functional)
|
||||||
|
|
Loading…
Reference in a new issue