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 FROM debian:stretch
RUN apt-get update && \ RUN apt-get update && \
apt-get install curl -y apt-get install curl mariadb-server -y
...@@ -21,12 +21,11 @@ ...@@ -21,12 +21,11 @@
variables: variables:
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb-mysqlbackend-testenv:latest 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 image: $CI_REGISTRY_IMAGE
stages: stages:
- setup - setup
- test
- deploy - deploy
# Trigger building of server image and integration tests # Trigger building of server image and integration tests
...@@ -41,6 +40,13 @@ trigger_build: ...@@ -41,6 +40,13 @@ trigger_build:
-F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA" -F "variables[TriggerdByHash]=$CI_COMMIT_SHORT_SHA"
-F ref=dev https://gitlab.indiscale.com/api/v4/projects/14/trigger/pipeline -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 a docker image in which tests for this repository can run
build-testenv: build-testenv:
tags: [ cached-dind ] tags: [ cached-dind ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment