Add more debugging info to the test cases

This commit is contained in:
Salt 2021-03-25 00:42:24 -05:00
parent ad67e1831b
commit c1b575f5a9

View File

@ -42,6 +42,8 @@ Test_HTTP_200:
script: script:
- apk add curl - apk add curl
- docker run -d -p 8889:80 $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA - docker run -d -p 8889:80 $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
- docker ps
- netstat -tulpn
- curl localhost:8889 | grep -ie '200 OK' - curl localhost:8889 | grep -ie '200 OK'
- docker kill $(docker ps -q) - docker kill $(docker ps -q)