Skip to content
Snippets Groups Projects
Verified Commit f8be014b authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline more logging during pipeline

parent 3893ee80
No related branches found
No related tags found
No related merge requests found
......@@ -19,12 +19,9 @@ RUN apt-get install -y openjdk-11-jdk-headless
# build and run tests
CMD ls -la && \
ls -la /usr/local/lib/ && \
ls -la /usr/local/lib/libcaosdb && \
mkdir build && \
CMD mkdir build && \
cd build && \
/wait-for-it.sh caosdb-server:10443 -t 500 -- \
cmake -D CMAKE_PREFIX_PATH=/usr/local/lib/libcaosdb .. && \
cmake --build . && \
/wait-for-it.sh caosdb-server:10443 -t 500 -- \
ctest
......@@ -160,6 +160,10 @@ test:
# here the server and the mysql backend docker are being started
- CAOSDB_TAG=$CAOSDB_TAG docker-compose up -d
# store versions of CaosDB parts
- docker exec -u 0 -t docker_caosdb-server_1 cat /opt/caosdb/git/caosdb_server_commit > hash_server
- docker exec -u 0 -t docker_caosdb-server_1 cat /opt/caosdb/git/caosdb_mysqlbackend_commit > hash_mysql
- docker exec -u 0 -t docker_caosdb-server_1 cat /opt/caosdb/git/caosdb_proto_commit > hash_server
# the pyinttest docker writes the return value of the tests into the
# file result
......@@ -179,6 +183,8 @@ test:
- echo mariadb:$(docker image ls mariadb | grep mariadb | awk '{print $2}')
- docker save mariadb:$(docker image ls mariadb | grep mariadb | awk '{print $2}') > /image-cache/mariadb.tar || true
- cat ../caosdb_log.txt
# exit with fail when errors exist
- exit $rc
timeout: 3h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment