Display logs from openproject container before attempting to test

[ci skip]
This commit is contained in:
Cyril Rohr
2020-12-29 12:52:17 +00:00
parent 1b5f100fe1
commit fad5dec7bf
+3 -2
View File
@@ -28,6 +28,7 @@ jobs:
cache: ${{ github.event_name != 'schedule' }}
- name: Test
run: |
docker run -d -p 8080:80 -e SUPERVISORD_LOG_LEVEL=debug -e SECRET_KEY_BASE=secret ${{ steps.build_and_push.outputs.digest }}
sleep 15
docker run --name openproject -d -p 8080:80 -e SUPERVISORD_LOG_LEVEL=debug -e SECRET_KEY_BASE=secret ${{ steps.build_and_push.outputs.digest }}
sleep 30
docker logs openproject --tail 200
wget -O- --retry-connrefused http://localhost:8080/api/v3