Skip to content
Snippets Groups Projects

Release 0.3

Merged Florian Spreckelsen requested to merge release-0.3 into main
165 files
+ 34068
1256
Compare changes
  • Side-by-side
  • Inline
Files
165
+ 28
29
FROM debian:latest
FROM debian:10
RUN apt-get update && \
RUN apt-get update && \
apt-get install \
apt-get install \
curl \
curl \
python3 \
libhdf5-dev \
python3-pip \
pkgconf \
python3-requests \
python3 \
python3-pandas \
python3-pip \
python3-html2text \
python3-requests \
git \
python3-pandas \
openjdk-11-jdk-headless \
python3-html2text \
python-autopep8 \
python3-sphinx \
python3-pytest \
tox \
libxml2 \
git \
-y
openjdk-11-jdk-headless \
 
python-autopep8 \
 
python3-pytest \
 
libxml2 \
 
-y
 
 
COPY .docker/wait-for-it.sh /wait-for-it.sh
COPY .docker/wait-for-it.sh /wait-for-it.sh
ADD https://gitlab.com/api/v4/projects/13656973/repository/branches/main \
ADD https://gitlab.com/api/v4/projects/13656973/repository/branches/dev \
pylib_version.json
pylib_version.json
RUN git clone https://gitlab.com/caosdb/caosdb-pylib.git && \
RUN git clone https://gitlab.com/caosdb/caosdb-pylib.git && \
cd caosdb-pylib && pip3 install .
cd caosdb-pylib && git checkout dev && pip3 install .
ADD https://gitlab.com/api/v4/projects/13656965/repository/branches/master \
# At least recommonmark 0.6 required.
model_version.json
RUN pip3 install recommonmark sphinx-rtd-theme
RUN git clone https://gitlab.com/caosdb/caosdb-models.git && \
cd caosdb-models && pip3 install .
ADD https://gitlab.com/api/v4/projects/13601752/repository/branches/master \
scifolder_version.json
RUN git clone \
https://gitlab.com/henrik_indiscale/scifolder.git && \
cd scifolder && pip3 install .
COPY . /git
COPY . /git
RUN rm -r /git/.git \
RUN rm -r /git/.git \
&& mv /git/.docker/pycaosdb.ini /git/integrationtests/full_test
&& mv /git/.docker/pycaosdb.ini /git/integrationtests
RUN cd /git && pip3 install .
RUN cd /git && pip3 install .[h5-crawler]
WORKDIR /git/integrationtests/full_test
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
Loading