Skip to content
Snippets Groups Projects
Commit e5a3a12d authored by bikerdanny's avatar bikerdanny
Browse files

Put sleep of 5 seconds after webserver start, otherwise linkchecker will fail

parent 3a65f701
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,8 @@ test_linkchecker:
script:
- docker network create ${TEST_NETWORK}
- docker run -d --rm --name ${TEST_CONTAINER_NAME} --network ${TEST_NETWORK} ${BASE_IMAGE} mkdocs serve --dev-addr 0.0.0.0:8000
- docker run --rm --network ${TEST_NETWORK} ${LINKCHECKER_IMAGE} --check-extern --ignore-url=http://0.0.0.0:8000 http://webpage:8000
- sleep
- docker run --rm --network ${TEST_NETWORK} ${LINKCHECKER_IMAGE} --check-extern --ignore-url=http://0.0.0.0:8000 http://${TEST_CONTAINER_NAME}:8000
cleanup_test:
stage: cleanup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment