Skip to content
Snippets Groups Projects
Commit 6f4d8d18 authored by Lucas Fernandes de Oliveira's avatar Lucas Fernandes de Oliveira
Browse files

Merge branch 'issue/58' into 'develop'

Issue #58: Add a new stage of test in gitlab-ci

See merge request !69
parents 358754db ca57f166
Branches
No related tags found
1 merge request!69Issue #58: Add a new stage of test in gitlab-ci
Pipeline #16604 passed
......@@ -2,13 +2,17 @@ image: node:6.12.2
services:
- postgres:latest
-
name: "dockerregistry.c3sl.ufpr.br:5000/c3sl/monetdb-ci-service:latest"
alias: "monet"
variables:
POSTGRES_DB: 'blendb_fixture'
POSTGRES_USER: 'runner'
POSTGRES_PASSWORD: ''
MONETDB_NAME: 'blendb_fixture'
PKG_VERSION: 'latest'
DOCKER_URL: 'marula.c3sl.ufpr.br:5000/c3sl/blendb:'
DOCKER_URL: 'dockerregistry.c3sl.ufpr.br:5000/c3sl/blendb:'
cache:
paths:
......@@ -20,18 +24,29 @@ stages:
- deploy
run_tests:
run_test_postgres:
stage: test
before_script:
- yarn install --frozen-lockfile --silent --non-interactive
script:
- yarn install --frozen-lockfile --silent --non-interactive
- mv config/ci_test.yaml.example config/test.yaml
- mv config/ci_test.env.example config/test.env
- mv config/ci_postgres_test.env.example config/test.env
- yarn test
- yarn run lint
tags:
- node
- postgres
run_test_monet:
stage: test
script:
- yarn install --frozen-lockfile --silent --non-interactive
- mv config/ci_test.yaml.example config/test.yaml
- mv config/ci_monet_test.env.example config/test.env
- yarn test
- yarn run lint
tags:
- node
build:
stage: build
variables:
......
BLENDB_DB_USER=monetdb
BLENDB_DB_NAME=blendb_fixture
BLENDB_DB_PASSWORD=monetdb
BLENDB_DB_HOST=monet
BLENDB_DB_PORT=50000
BLENDB_ADAPTER=monet
PORT=3000
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment