mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-24 07:16:12 +01:00
parent
2aec0534d0
commit
13bfb9ee42
1 changed files with 5 additions and 3 deletions
|
@ -21,6 +21,7 @@ waitFor() {
|
||||||
done;
|
done;
|
||||||
"
|
"
|
||||||
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name wait-for-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${IMAGE_ALPINE} /bin/sh -c "${TESTCOMMAND}"
|
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name wait-for-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${IMAGE_ALPINE} /bin/sh -c "${TESTCOMMAND}"
|
||||||
|
# shellcheck disable=SC2181 # Disabled because we don‘t want to move the long line between the brackets
|
||||||
if [[ $? -gt 0 ]]; then
|
if [[ $? -gt 0 ]]; then
|
||||||
kill -SIGINT -$$
|
kill -SIGINT -$$
|
||||||
fi
|
fi
|
||||||
|
@ -326,6 +327,7 @@ SUFFIX=$(echo $RANDOM)
|
||||||
NETWORK="friendsoftypo3-tea-${SUFFIX}"
|
NETWORK="friendsoftypo3-tea-${SUFFIX}"
|
||||||
CI_PARAMS="${CI_PARAMS:-}"
|
CI_PARAMS="${CI_PARAMS:-}"
|
||||||
CONTAINER_HOST="host.docker.internal"
|
CONTAINER_HOST="host.docker.internal"
|
||||||
|
# shellcheck disable=SC2034 # This variable will be needed when we try to clean up the root folder
|
||||||
PHPSTAN_CONFIG_FILE="phpstan.neon"
|
PHPSTAN_CONFIG_FILE="phpstan.neon"
|
||||||
IS_CORE_CI=0
|
IS_CORE_CI=0
|
||||||
|
|
||||||
|
@ -427,7 +429,7 @@ if [[ -z "${CONTAINER_BIN}" ]]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(uname) != "Darwin" ] && [ "${CONTAINER_BIN}" == "docker" ]; then
|
if [ "$(uname)" != "Darwin" ] && [ "${CONTAINER_BIN}" == "docker" ]; then
|
||||||
# Run docker jobs as current user to prevent permission issues. Not needed with podman.
|
# Run docker jobs as current user to prevent permission issues. Not needed with podman.
|
||||||
USERSET="--user $HOST_UID"
|
USERSET="--user $HOST_UID"
|
||||||
fi
|
fi
|
||||||
|
@ -497,12 +499,12 @@ case ${TEST_SUITE} in
|
||||||
cleanTestFiles
|
cleanTestFiles
|
||||||
;;
|
;;
|
||||||
composer)
|
composer)
|
||||||
COMMAND="composer $@"
|
COMMAND="composer $*"
|
||||||
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-command-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
|
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-command-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
|
||||||
SUITE_EXIT_CODE=$?
|
SUITE_EXIT_CODE=$?
|
||||||
;;
|
;;
|
||||||
composerInstall)
|
composerInstall)
|
||||||
COMMAND="composer install $@"
|
COMMAND="composer install $*"
|
||||||
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-install-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
|
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-install-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
|
||||||
SUITE_EXIT_CODE=$?
|
SUITE_EXIT_CODE=$?
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue