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

WIP: pipeline

parent 6679ac02
No related branches found
No related tags found
No related merge requests found
FROM debian:stretch FROM mariadb:10.4
RUN apt-get update && \ RUN apt-get update && \
apt-get install curl mariadb-server -y apt-get install curl make unzip -y
...@@ -45,7 +45,7 @@ unittests: ...@@ -45,7 +45,7 @@ unittests:
stage: test stage: test
script: script:
- cp config.defaults .config - cp config.defaults .config
- cat .config - echo "MYSQL_USER_PASSWORD=caosdb1234" >> .config
- . .config || echo "failed" - . .config || echo "failed"
- whereis mysql - whereis mysql
- command -v mysql - command -v mysql
...@@ -65,6 +65,7 @@ build-testenv: ...@@ -65,6 +65,7 @@ build-testenv:
# use here general latest or specific branch latest... # use here general latest or specific branch latest...
- docker pull $CI_REGISTRY_IMAGE || true - docker pull $CI_REGISTRY_IMAGE || true
- docker build - docker build
-e MYSQL_ROOT_PASSWORD=caosdb1234
--pull --pull
--cache-from $CI_REGISTRY_IMAGE --cache-from $CI_REGISTRY_IMAGE
-t $CI_REGISTRY_IMAGE . -t $CI_REGISTRY_IMAGE .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment