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

WIP: pipeline

parent 4b981b2d
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,18 @@ ADD https://gitlab.com/api/v4/projects/13656973/repository/commits/${PYLIB} \ ...@@ -15,6 +15,18 @@ ADD https://gitlab.com/api/v4/projects/13656973/repository/commits/${PYLIB} \
RUN git clone https://gitlab.com/caosdb/caosdb-pylib.git && \ RUN git clone https://gitlab.com/caosdb/caosdb-pylib.git && \
cd caosdb-pylib && git checkout ${PYLIB} && pip3 install . cd caosdb-pylib && git checkout ${PYLIB} && pip3 install .
COPY . /git COPY . /git
RUN rm -r /git/.git && mv /git/.docker/pycaosdb.ini /git
# Delete .git because it is huge.
RUN rm -r /git/.git
# Install pycaosdb.ini for the tests
RUN mv /git/.docker/tester_pycaosdb.ini /git/pycaosdb.ini
WORKDIR /git WORKDIR /git
CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- tox # wait for server,
CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- \
# ... install pycaosdb.ini the server-side scripts
cp /git/.docker/sss_pycaosdb.ini /scripting/home/.pycaosdb.ini && \
# ... and run tests
tox
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment