Wait for Apache to start up before testing it
This commit is contained in:
parent
c1b575f5a9
commit
ea31268ef5
@ -44,6 +44,7 @@ Test_HTTP_200:
|
||||
- docker run -d -p 8889:80 $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
|
||||
- docker ps
|
||||
- netstat -tulpn
|
||||
- sleep 10
|
||||
- curl localhost:8889 | grep -ie '200 OK'
|
||||
- docker kill $(docker ps -q)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user