Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
blendb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
C3SL
blendb
Commits
ca57f166
Commit
ca57f166
authored
Jul 09, 2018
by
Rafael Dias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#58
: Add a new stage of test in gitlab-ci
Signed-off-by:
Rafael
<
rpd17@inf.ufpr.br
>
parent
358754db
Pipeline
#16585
passed with stages
in 1 minute and 5 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
5 deletions
+27
-5
.gitlab-ci.yml
.gitlab-ci.yml
+20
-5
config/ci_monet_test.env.example
config/ci_monet_test.env.example
+7
-0
config/ci_postgres_test.env.example
config/ci_postgres_test.env.example
+0
-0
No files found.
.gitlab-ci.yml
View file @
ca57f166
...
...
@@ -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
_postgre
s
:
stage
:
test
before_script
:
script
:
-
yarn install --frozen-lockfile --silent --non-interactive
script
:
-
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
:
...
...
config/ci_monet_test.env.example
0 → 100644
View file @
ca57f166
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
config/ci_test.env.example
→
config/ci_
postgres_
test.env.example
View file @
ca57f166
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment