Commit 6f8f3110 authored by Marta Dubas's avatar Marta Dubas
Browse files

Update .gitlab-ci.yml

parent 30a18a00
Pipeline #759 failed with stages
in 5 seconds
......@@ -13,7 +13,7 @@ image_build:
deploy_test:
stage: test
script:
- curl $(ifconfig ens3 | grep "inet " | sed -e 's/.* inet //g' | sed -e 's/ .*//g'):$(docker port myfastapi-test-752 | grep 0.0.0 | grep "80/tcp" | sed -e 's/.*://g')
- sleep 10 curl $(ifconfig ens3 | grep "inet " | sed -e 's/.* inet //g' | sed -e 's/ .*//g'):$(docker port myfastapi-test-752 | grep 0.0.0 | grep "80/tcp" | sed -e 's/.*://g')
- docker stop myfastapi-test-$CI_PIPELINE_ID
- docker rm myfastapi-test-$CI_PIPELINE_ID
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment