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

ci

parent 6bbd0052
Branches
Tags
No related merge requests found
FROM debian:latest
RUN apt-get update && \
apt-get install tox curl -y
apt-get install tox curl python3-pip -y
RUN pip3 install docker-compose
COPY wait-for-it.sh /wait-for-it.sh
CMD /wait-for-it.sh caosdb-server:10443 -t 60 -- curl https://caosdb-server:10443
CMD /bin/bash
......@@ -53,9 +53,10 @@ stages:
test:
tags: [docker]
image:
name: docker/compose:1.24.1
entrypoint: ["/bin/sh", "-c"]
#image:
# name: docker/compose:1.24.1
# entrypoint: ["/bin/sh", "-c"]
image: $CI_REGISTRY_IMAGE:latest
script:
- docker login -u testuser -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- cd .docker
......@@ -64,9 +65,8 @@ test:
#- rc=$?
#- docker-compose down
#- exit $rc
- ./wait-for-it.sh localhost:10443 -t 60 -- echo "ready"
- ./wait-for-it.sh localhost:10443 -t 60 -- curl https://localhost:10443
- cd ..
- tox
build-testenv:
tags: [docker]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment