Skip to content

Commit

Permalink
Merge pull request #153 from lpiwowar/fix/tobiko-log-dir-name
Browse files Browse the repository at this point in the history
[Tobiko] Fix extraction of log dir name
  • Loading branch information
openshift-merge-bot[bot] committed Mar 12, 2024
2 parents a8c3f51 + b681784 commit d65b419
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion container-images/tcib/base/tobiko/run_tobiko.sh
Expand Up @@ -58,7 +58,8 @@ RETURN_VALUE=$?
# copy logs to external_files
if [ ! -z ${USE_EXTERNAL_FILES} ]; then
echo "Copying logs file"
LOG_DIR=${TOX_REPORT_DIR:-/var/lib/tobiko/tobiko/.tox/${TOBIKO_TESTENV}/log}
TOBIKO_TESTENV_ARR=($TOBIKO_TESTENV)
LOG_DIR=${TOX_REPORT_DIR:-/var/lib/tobiko/tobiko/.tox/${TOBIKO_TESTENV_ARR}/log}
sudo cp -rf ${LOG_DIR} ${TOBIKO_DIR}/external_files/${TOBIKO_LOGS_DIR_NAME}/
if [ -f tobiko.conf ]; then
sudo cp tobiko.conf ${TOBIKO_DIR}/external_files/${TOBIKO_LOGS_DIR_NAME}/
Expand Down

0 comments on commit d65b419

Please sign in to comment.