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

Merge branch 'f-safe-inttest' into 'dev'

F safe inttest

See merge request !12
parents 4382c22b eb188ebb
No related branches found
No related tags found
2 merge requests!22Release 0.3,!12F safe inttest
Pipeline #12123 passed
......@@ -31,4 +31,4 @@ RUN rm -r /git/.git \
&& mv /git/.docker/pycaosdb.ini /git/integrationtests
RUN cd /git && pip3 install .[h5-crawler]
WORKDIR /git/integrationtests
CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh
CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force
#!/bin/bash
if [ "$1" != "--force" ]
then
echo "Warning: For these tests, the whole database will be deleted. Do you want to proceed? (yes/Exit)"
read safety
if [ -z $safety ]
then
echo "Exiting..."
exit 0
elif [ $safety != "yes" ]
then
echo "Exiting..."
exit 0
fi
fi
OUT=/tmp/crawler.output
ls
cat pycaosdb.ini
......
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