Skip to content
Snippets Groups Projects

CI pipeline for mysql unit tests

Merged Daniel Hornung requested to merge f-mysql-test into dev
2 files
+ 2
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
2
@@ -28,7 +28,6 @@ variables:
@@ -28,7 +28,6 @@ variables:
DEPLOY_REF: dev
DEPLOY_REF: dev
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-mysqlbackend/testenv:latest
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-mysqlbackend/testenv:latest
MYSQL_ROOT_PASSWORD: caosdb1234
MYSQL_ROOT_PASSWORD: caosdb1234
# MYSQL_DATABASE: caosdb
image: $CI_REGISTRY_IMAGE
image: $CI_REGISTRY_IMAGE
stages:
stages:
@@ -50,7 +49,7 @@ build-testenv:
@@ -50,7 +49,7 @@ build-testenv:
script:
script:
- cd .docker
- cd .docker
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
# use here general latest or specific branch latest...
# use here general latest or specific branch latest...
- docker build
- docker build
--pull
--pull
-t $CI_REGISTRY_IMAGE .
-t $CI_REGISTRY_IMAGE .
@@ -59,7+58,7 @@
@@ -59,7+58,7 @@
######## Test ########
######## Test ########
# Run the unit tests
# Run the unit tests
unittests:
unittests:
tags: [ docker ]
tags: [ docker ]
stage: test
stage: test
Loading