Skip to content

Commit

Permalink
276 Another attempt to print out the contents of the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandoquesada committed Oct 25, 2024
1 parent a7c293e commit fa3d680
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/_CI_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,16 @@ jobs:
run: |
echo "Print all the logs" >> $GITHUB_OUTPUT
mkdir -p ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/*.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/tests_stderr_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/tests_stderr_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/tests_stdout_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/tests_stdout_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/tls_stderr_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/tls_stderr_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/tls_stdout_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/tls_stdout_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/udf_local_stderr_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/udf_local_stderr_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/udf_local_stdout_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/udf_local_stdout_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/udf_server_stderr_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/udf_server_stderr_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/udf_server_stdout_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/udf_server_stdout_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/vdms_stderr_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/vdms_stderr_log.log || true
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/vdms_stdout_log.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/vdms_stdout_log.log || true
cat ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/*.log >> $GITHUB_OUTPUT
rm -rf ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs || true
docker kill ${{ env.SOURCE_CONTAINER_NAME }} || true
Expand Down

0 comments on commit fa3d680

Please sign in to comment.