Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ehasa-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
WIMMA Lab 2019
Overflow
ehasa-backend
Commits
3a247742
Commit
3a247742
authored
5 years ago
by
L4168
Browse files
Options
Downloads
Patches
Plain Diff
setting up gitlab-ci
parent
42f19b79
No related branches found
No related tags found
2 merge requests
!59
Development to master
,
!21
Error handling
Pipeline
#63909
passed
5 years ago
Stage: e2e-test
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+0
-1
0 additions, 1 deletion
.gitignore
.gitlab-ci.yml
+21
-0
21 additions, 0 deletions
.gitlab-ci.yml
docker-compose.yml
+6
-8
6 additions, 8 deletions
docker-compose.yml
ormconfig.json
+13
-0
13 additions, 0 deletions
ormconfig.json
with
40 additions
and
9 deletions
.gitignore
+
0
−
1
View file @
3a247742
...
...
@@ -34,6 +34,5 @@ lerna-debug.log*
!.vscode/extensions.json
# db connection
ormconfig.json
.env
*.providers.ts
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
0 → 100644
+
21
−
0
View file @
3a247742
stages
:
-
e2e-test
e2e-testing
:
image
:
name
:
docker/compose:1.24.0
entrypoint
:
[
'
/bin/sh'
,
'
-c'
]
services
:
-
docker:dind
stage
:
e2e-test
tags
:
[
'
compose'
]
only
:
-
testing
before_script
:
-
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USER" --password-stdin
script
:
-
docker image prune -f
-
docker-compose build --no-cache
-
docker-compose up -d
after_script
:
-
docker logout
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
6
−
8
View file @
3a247742
version
:
"
3"
version
:
'
3'
services
:
ehasa-frontend
:
image
:
"
ehasa
/frontend
"
image
:
overflow2019
/frontend
:test
ports
:
-
80
80:80
-
80:80
ehasa-backend
:
image
:
"
ehasa/backend"
build
:
.
ports
:
-
500
0:5000
-
808
0:5000
postgres
:
image
:
mdillon/postgis
volumes
:
-
/home/postgres:/var/lib/postgresql/data
ports
:
-
5432:5432
\ No newline at end of file
-
./docker:/docker-entrypoint-initdb.d/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ormconfig.json
0 → 100644
+
13
−
0
View file @
3a247742
{
"type"
:
"postgres"
,
"host"
:
"localhost"
,
"port"
:
5432
,
"username"
:
"ehasa"
,
"password"
:
"salasana"
,
"database"
:
"ehasa"
,
"entities"
:
[
"src/**/*.entity{.ts,.js}"
],
"synchronize"
:
true
,
"logging"
:
true
,
"dropSchema"
:
false
}
\ No newline at end of file
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