Wait for Apache to start up before testing it
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user