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

ci

parent fb505e90
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,7 @@ RUN apt-get update && \
apt-get install docker.io tox curl python3-pip -y
RUN pip3 install docker-compose
COPY wait-for-it.sh /wait-for-it.sh
COPY ../tests /tests
CMD /wait-for-it.sh caosdb-server:10443 -t 120 -- tox /tests
COPY . /git
RUN rm -r /git/.git
WORKDIR /git
CMD /wait-for-it.sh caosdb-server:10443 -t 120 -- tox
......@@ -78,10 +78,9 @@ build-testenv:
- docker login -u testuser -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# use here general latest or specific branch latest...
- docker pull $CI_REGISTRY_IMAGE:latest || true
- cd .docker
- docker build
--pull
--file Dockerfile
--file .docker/Dockerfile
--cache-from $CI_REGISTRY_IMAGE:latest
-t $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:latest
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