Need to actually add curl. Whoops

This commit is contained in:
Salt 2021-03-20 14:17:37 -05:00
parent 73cad693a1
commit 89d9610ba8

View File

@ -37,6 +37,7 @@ Build:
Test_HTTP_200: Test_HTTP_200:
stage: test stage: test
script: script:
- 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
- curl localhost:8889 | grep -ie '200 OK' - curl localhost:8889 | grep -ie '200 OK'
- docker kill $(docker ps -q) - docker kill $(docker ps -q)