Skip to content
Snippets Groups Projects
Commit 9ef63792 authored by ale's avatar ale
Browse files

Expose the http port?

parent 1b7e0fe6
Branches
No related tags found
1 merge request!14Add an integration test with a simple HTTP probe
Pipeline #56935 passed
...@@ -10,4 +10,4 @@ ctest-http: ...@@ -10,4 +10,4 @@ ctest-http:
URL: https://www.incal.net/ URL: https://www.incal.net/
script: script:
- sed -e "s,@URL@,$URL,g" < test/http/config.json > config.json - sed -e "s,@URL@,$URL,g" < test/http/config.json > config.json
- with-container --mount=type=bind,source=$PWD/config.json,destination=/etc/service-prober.json --env=SERVICE_PROBER_CONFIG=/etc/service-prober.json $IMAGE_TAG ./test/test.sh - with-container --mount=type=bind,source=$PWD/config.json,destination=/etc/service-prober.json --env=SERVICE_PROBER_CONFIG=/etc/service-prober.json --env=SERVICE_PROBER_HTTP_ADDR=:5521 --expose=5521 $IMAGE_TAG ./test/test.sh
...@@ -10,7 +10,7 @@ while [ $count -lt 120 ]; do ...@@ -10,7 +10,7 @@ while [ $count -lt 120 ]; do
exit 0 exit 0
fi fi
echo "probe_success=${value}" [ -n "$value" ] && echo "probe_success=${value}"
sleep 1 sleep 1
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment