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
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
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
9851e7d5
Commit
9851e7d5
authored
Feb 08, 2019
by
rafaelatc3sl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#102
: Fix files witch ci doesn't cover
Signed-off-by:
rafaelatc3sl
<
rpd17@c3sl
>
parent
7d18c3dd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
21 deletions
+19
-21
.gitlab-ci.yml
.gitlab-ci.yml
+1
-2
config/config.env.example
config/config.env.example
+7
-6
config/test.env.example
config/test.env.example
+0
-0
config/test/postgres/fixtures/sellerstatus.json
config/test/postgres/fixtures/sellerstatus.json
+0
-4
docker-compose.yml
docker-compose.yml
+9
-7
scripts/loadTest.ts
scripts/loadTest.ts
+1
-1
scripts/schema.ts
scripts/schema.ts
+1
-1
No files found.
.gitlab-ci.yml
View file @
9851e7d5
...
...
@@ -28,7 +28,7 @@ run_test:
stage
:
test
script
:
-
yarn install --frozen-lockfile --silent --non-interactive
-
mv config/
ci_database_
test.env.example config/test.env
-
mv config/test.env.example config/test.env
-
yarn test
-
yarn run lint
tags
:
...
...
@@ -59,4 +59,3 @@ deploy:
-
build
only
:
-
develop
config/config.env.example
View file @
9851e7d5
BLENDB_DB_NAME=blendb-test
BLENDB_DB_USER=blendb
BLENDB_DB_PASSWORD=secret
BLENDB_DB_HOST=localhost
BLENDB_DB_PORT=5432
BLENDB_ADAPTER=postgres
BLENDB_SCHEMA_FILE=config/config.yaml.example
PORT=3000
BLENDB_N_DB=1
BLENDB_DB0_USER=blendb
BLENDB_DB0_NAME=blendb-test
BLENDB_DB0_PASSWORD=secret
BLENDB_DB0_HOST=localhost
BLENDB_DB0_PORT=5432
BLENDB_DB0_ADAPTER=postgres
config/
ci_database_
test.env.example
→
config/test.env.example
View file @
9851e7d5
File moved
config/test/postgres/fixtures/sellerstatus.json
deleted
100644 → 0
View file @
7d18c3dd
[
{
"met:seller:count:age"
:
4
,
"dim:seller:status"
:
"active"
},
{
"met:seller:count:age"
:
1
,
"dim:seller:status"
:
"sick leave"
}
]
docker-compose.yml
View file @
9851e7d5
...
...
@@ -12,18 +12,20 @@ services:
security_opt
:
-
no-new-privileges
blendb
:
image
:
marula.c3sl.ufpr.br:5000/c3sl/blendb:latest
# image: marula.c3sl.ufpr.br:5000/c3sl/blendb:latest
image
:
blendb
build
:
.
container_name
:
blendb
environment
:
BLENDB_DB_USER
:
postgres
BLENDB_DB_PASSWORD
:
passwd
BLENDB_DB_NAME
:
postgres
BLENDB_DB_HOST
:
postgres
BLENDB_DB_PORT
:
5432
BLENDB_ADAPTER
:
postgres
BLENDB_SCHEMA_FILE
:
config/config.yaml.example
PORT
:
3000
BLENDB_N_DB
:
1
BLENDB_DB0_USER
:
postgres
BLENDB_DB0_NAME
:
postgres
BLENDB_DB0_PASSWORD
:
passwd
BLENDB_DB0_HOST
:
postgres
BLENDB_DB0_PORT
:
5432
BLENDB_DB0_ADAPTER
:
postgres
ports
:
-
3000:3000
command
:
[
"
yarn"
,
"
test-mode"
]
...
...
scripts/loadTest.ts
View file @
9851e7d5
...
...
@@ -37,7 +37,7 @@ else{
}
config
=
ConfigParser
.
parse
(
configPath
);
fixture
=
new
FixPostgres
(
config
.
connection
);
fixture
=
new
FixPostgres
(
config
.
connection
s
[
0
]
);
fixture
.
load
(
config
.
loadViews
,
(
err
)
=>
{
if
(
err
)
{
...
...
scripts/schema.ts
View file @
9851e7d5
...
...
@@ -40,7 +40,7 @@ const config = ConfigParser.parse(configFile);
const
referencePath
=
path
.
dirname
(
configFile
);
const
engine
=
new
Engine
(
config
);
const
adapter
=
new
PostgresAdapter
(
config
.
connection
);
const
adapter
=
new
PostgresAdapter
(
config
.
connection
s
[
0
]
);
let
schema
=
""
;
...
...
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