Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blendb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
C3SL
blendb
Commits
6f4d8d18
Commit
6f4d8d18
authored
6 years ago
by
Lucas Fernandes de Oliveira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue/58' into 'develop'
Issue
#58
: Add a new stage of test in gitlab-ci See merge request
!69
parents
358754db
ca57f166
No related branches found
No related tags found
1 merge request
!69
Issue #58: Add a new stage of test in gitlab-ci
Pipeline
#16604
passed
6 years ago
Stage: test
Stage: build
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+20
-5
20 additions, 5 deletions
.gitlab-ci.yml
config/ci_monet_test.env.example
+7
-0
7 additions, 0 deletions
config/ci_monet_test.env.example
config/ci_postgres_test.env.example
+0
-0
0 additions, 0 deletions
config/ci_postgres_test.env.example
with
27 additions
and
5 deletions
.gitlab-ci.yml
+
20
−
5
View file @
6f4d8d18
...
@@ -2,13 +2,17 @@ image: node:6.12.2
...
@@ -2,13 +2,17 @@ image: node:6.12.2
services
:
services
:
-
postgres:latest
-
postgres:latest
-
name
:
"
dockerregistry.c3sl.ufpr.br:5000/c3sl/monetdb-ci-service:latest"
alias
:
"
monet"
variables
:
variables
:
POSTGRES_DB
:
'
blendb_fixture'
POSTGRES_DB
:
'
blendb_fixture'
POSTGRES_USER
:
'
runner'
POSTGRES_USER
:
'
runner'
POSTGRES_PASSWORD
:
'
'
POSTGRES_PASSWORD
:
'
'
MONETDB_NAME
:
'
blendb_fixture'
PKG_VERSION
:
'
latest'
PKG_VERSION
:
'
latest'
DOCKER_URL
:
'
marula
.c3sl.ufpr.br:5000/c3sl/blendb:'
DOCKER_URL
:
'
dockerregistry
.c3sl.ufpr.br:5000/c3sl/blendb:'
cache
:
cache
:
paths
:
paths
:
...
@@ -20,18 +24,29 @@ stages:
...
@@ -20,18 +24,29 @@ stages:
-
deploy
-
deploy
run_tests
:
run_test
_postgre
s
:
stage
:
test
stage
:
test
before_script
:
-
yarn install --frozen-lockfile --silent --non-interactive
script
:
script
:
-
yarn install --frozen-lockfile --silent --non-interactive
-
mv config/ci_test.yaml.example config/test.yaml
-
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 test
-
yarn run lint
-
yarn run lint
tags
:
tags
:
-
node
-
node
-
postgres
-
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
:
build
:
stage
:
build
stage
:
build
variables
:
variables
:
...
...
This diff is collapsed.
Click to expand it.
config/ci_monet_test.env.example
0 → 100644
+
7
−
0
View file @
6f4d8d18
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
This diff is collapsed.
Click to expand it.
config/ci_test.env.example
→
config/ci_
postgres_
test.env.example
+
0
−
0
View file @
6f4d8d18
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment