Skip to content
Snippets Groups Projects
Commit ad420d41 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: larger timeout; logs and correct return value

parent df506804
No related branches found
No related tags found
No related merge requests found
......@@ -17,4 +17,4 @@ RUN rm -r /git/.git \
&& mv /git/.docker/pycaosdb.ini /git/integrationtests/full_test
RUN cd /git && pip3 install .
WORKDIR /git/integrationtests/full_test
CMD /wait-for-it.sh caosdb-server:10443 -t 120 -- ./test.sh
CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh
#!/bin/sh
docker-compose -f tester.yml run tester
rv=$?
echo $rv > result
......@@ -49,10 +49,18 @@ test:
- docker pull $CI_REGISTRY_IMAGE:latest
- EXEPATH=`pwd` CAOSDB_TAG=$CAOSDB_TAG docker-compose
-f .docker/docker-compose.yml up -d
- docker-compose -f .docker/tester.yml run tester
- rc=$?
- /bin/sh ./run.sh
- docker logs docker_caosdb-server_1 &> ../caosdb_log.txt
- docker logs docker_sqldb_1 &> ../mariadb_log.txt
- docker-compose -f .docker/docker-compose.yml down
- rc=`cat result`
- exit $rc
artifacts:
paths:
- caosdb_log.txt
- mariadb_log.txt
when: on_failure
expire_in: 1 week
build-testenv:
tags: [notls]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment