Skip to content
Snippets Groups Projects

ENH: Establish basic test pipeline

Merged Florian Spreckelsen requested to merge f-int-tests into dev
Files
16
+ 24
0
 
ARG JULIALIB_REGISTRY_IMAGE
 
FROM $JULIALIB_REGISTRY_IMAGE
 
 
COPY .docker/wait-for-it.sh /wait-for-it.sh
 
 
# build an install cpplib
 
ARG F_BRANCH
 
# Also need the `F_BRANCH` in the running container
 
ENV F_BRANCH=$F_BRANCH
 
ARG CPP_DEFAULT_BRANCH
 
COPY .docker/install_cpplib.sh /install_cpplib.sh
 
WORKDIR /
 
RUN echo "F_BRANCH=$F_BRANCH"
 
RUN echo "CPP_DEFAULT_BRANCH=$CPP_DEFAULT_BRANCH"
 
RUN ./install_cpplib.sh
 
 
COPY . /caosdb-juliainttest
 
WORKDIR /caosdb-juliainttest
 
 
# Set-up and run the integration test
 
CMD export LD_LIBRARY_PATH=/root/.local/lib:$LD_LIBRARY_PATH && \
 
echo "F_BRANCH = $F_BRANCH" && \
 
/wait-for-it.sh caosdb-server:10443 -t 500 -- \
 
julia -e 'using Pkg; Pkg.add(path=pwd()); Pkg.test("CaosDBIntegrationTests")'
 
\ No newline at end of file
Loading