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

ci

parent 78550e45
Branches
Tags
No related merge requests found
FROM debian:latest FROM debian:latest
RUN apt-get update && \ RUN apt-get update && \
apt-get install tox curl python3-pip -y apt-get install docker.io tox curl python3-pip -y
RUN pip3 install docker-compose RUN pip3 install docker-compose
COPY wait-for-it.sh /wait-for-it.sh COPY wait-for-it.sh /wait-for-it.sh
CMD /bin/bash CMD /bin/bash
...@@ -42,7 +42,7 @@ variables: ...@@ -42,7 +42,7 @@ variables:
# When using dind, it's wise to use the overlayfs driver for # When using dind, it's wise to use the overlayfs driver for
# improved performance. # improved performance.
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
CAOSDB_TAG: latest : latest
services: services:
- docker:dind - docker:dind
...@@ -58,6 +58,9 @@ test: ...@@ -58,6 +58,9 @@ test:
# entrypoint: ["/bin/sh", "-c"] # entrypoint: ["/bin/sh", "-c"]
image: $CI_REGISTRY_IMAGE:latest image: $CI_REGISTRY_IMAGE:latest
script: script:
- if [[ "$CAOSDB_TAG" == "" ]]; then
CAOSDB_TAG=latest
fi
- docker login -u testuser -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u testuser -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- cd .docker - cd .docker
- docker-compose up -d - docker-compose up -d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment