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

WIP: pipeline

parent c0bce8a0
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ stages: ...@@ -30,7 +30,7 @@ stages:
- deploy - deploy
# Trigger building of server image and integration tests # Trigger building of server image and integration tests
trigger_build: .trigger_build:
tags: [ docker ] tags: [ docker ]
stage: deploy stage: deploy
script: script:
...@@ -46,6 +46,7 @@ unittests: ...@@ -46,6 +46,7 @@ unittests:
tags: [ docker ] tags: [ docker ]
stage: test stage: test
script: script:
- systemctl --no-pager status mysqld.service || echo "failed"
- cp config.defaults .config - cp config.defaults .config
- echo "MYSQL_USER_PASSWORD=caosdb1234" >> .config - echo "MYSQL_USER_PASSWORD=caosdb1234" >> .config
- . .config || echo "failed" - . .config || echo "failed"
...@@ -57,7 +58,7 @@ unittests: ...@@ -57,7 +58,7 @@ unittests:
- ./make_db test --fresh - ./make_db test --fresh
# 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 ]
image: docker:19.03 image: docker:19.03
stage: setup stage: setup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment