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

WIP: setup pipeline

parent 22c11975
No related branches found
No related tags found
No related merge requests found
FROM debian:stretch
RUN apt-get update && \
apt-get install curl -y
apt-get install curl mariadb-server -y
......@@ -21,12 +21,11 @@
variables:
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb-mysqlbackend-testenv:latest
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
image: $CI_REGISTRY_IMAGE
stages:
- setup
- test
- deploy
# Trigger building of server image and integration tests
......@@ -41,6 +40,13 @@ trigger_build:
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA"
-F ref=dev https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline
unittests:
tags: [ docker ]
stage: test
script:
- cp config.defaults .config
- make test
# Build a docker image in which tests for this repository can run
build-testenv:
tags: [ cached-dind ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment