Skip to content
Snippets Groups Projects
Commit 9a8053f8 authored by Roang's avatar Roang
Browse files

Add verbose output to curl commands in CI

parent 13afdf00
No related branches found
No related tags found
No related merge requests found
......@@ -348,8 +348,8 @@ build_test:
before_script:
- pip3 install requests
- echo "testing on $BASE_URL"
- curl --max-time 8 --retry 3 --fail ${BASE_URL}/.well-known/version
- curl --max-time 3 --retry 3 --fail ${BASE_URL}/.well-known/health
- curl -v --max-time 8 --retry 3 --fail ${BASE_URL}/.well-known/version
- curl -v --max-time 3 --retry 3 --fail ${BASE_URL}/.well-known/health
test_image_api:
extends: .test_image
......@@ -358,9 +358,9 @@ test_image_api:
SERVE_BACKOFFICE: "yes"
script:
# check that the profile can be queried
- curl --max-time 3 --retry 3 --fail ${BASE_URL}/api/me
- curl -v --max-time 3 --retry 3 --fail ${BASE_URL}/api/me
# get a list of all conferences
- curl --max-time 3 --retry 3 --fail ${BASE_URL}/api/info
- curl -v --max-time 3 --retry 3 --fail ${BASE_URL}/api/info
# run integration tests
- cd tests
- python3 -m unittest -v
......@@ -374,7 +374,7 @@ test_image_frontend:
SELECTED_CONFERENCE_ID: "017c0749-a2ea-4f86-92cd-e60b4508dd98"
script:
# check that something is being served at all
- curl --max-time 3 --retry 3 --fail ${BASE_URL}/en/index
- curl -v --max-time 3 --retry 3 --fail ${BASE_URL}/en/index
# run integration tests
- cd tests
- python3 -m unittest -v
......@@ -394,7 +394,7 @@ test_nginx_static:
alias: nginx
script:
# ensure the CSS got generated and is being served
- curl --max-time 3 --retry 3 --fail ${BASE_URL}/static/plainui/hub.css > /dev/null
- curl -v --max-time 3 --retry 3 --fail ${BASE_URL}/static/plainui/hub.css > /dev/null
.publish-image:
stage: publish
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment