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

WIP: pipeline

parent d80dfb65
Branches
Tags
No related merge requests found
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
# #
services:
- mariadb:10.4
variables: variables:
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb-mysqlbackend-testenv:latest CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb-mysqlbackend-testenv:latest
MYSQL_ROOT_PASSWORD: caosdb1234 MYSQL_ROOT_PASSWORD: caosdb1234
...@@ -42,13 +44,12 @@ stages: ...@@ -42,13 +44,12 @@ stages:
-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: unittests:
image: mariadb:10.4
tags: [ docker ] tags: [ docker ]
stage: test stage: test
script: script:
- service --status-all || echo "failed"
- cp config.defaults .config - cp config.defaults .config
- echo "MYSQL_USER_PASSWORD=caosdb1234" >> .config - echo "MYSQL_USER_PASSWORD=caosdb1234" >> .config
- echo "MYSQL_HOST=mariadb" >> .config
- . .config || echo "failed" - . .config || echo "failed"
- whereis mysql - whereis mysql
- command -v mysql - command -v mysql
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment