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
2a5ac0a4
"git@gitlab.labranet.jamk.fi:AA2301/ttc2050-exercises.git" did not exist on "9400bddcb478019e40c1eede81656a331a6e4c6a"
Commit
2a5ac0a4
authored
5 years ago
by
L4168
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci fixing
parent
dc68e353
No related branches found
No related tags found
2 merge requests
!59
Development to master
,
!21
Error handling
Pipeline
#63931
failed
5 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-13
11 additions, 13 deletions
.gitlab-ci.yml
docker-compose.yml
+11
-0
11 additions, 0 deletions
docker-compose.yml
with
22 additions
and
13 deletions
.gitlab-ci.yml
+
11
−
13
View file @
2a5ac0a4
...
...
@@ -11,24 +11,22 @@ purge-old-containers:
only
:
-
testing
script
:
-
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USER" --password-stdin
-
docker stop postgis
-
docker rm postgis
-
docker stop back
-
docker rm back
after_script
:
-
docker logout
-
docker-compose down
allow_failure
:
true
e2e-testing
:
image
:
docker
e2e-testing
:
image
:
name
:
docker/compose:1.24.0
entrypoint
:
[
'
/bin/sh'
,
'
-c'
]
services
:
-
docker:dind
stage
:
e2e-test
tags
:
[
'
docker
'
]
tags
:
[
'
compose
'
]
only
:
-
testing
script
:
-
docker run --name postgis -p 5432:5432 -d -v docker:/docker-entrypoint-initdb.d/ mdillon/postgis
-
docker build -t backend .
-
docker run --name back -p 8080:5000 -d backend
-
docker image prune -f
-
docker-compose build --no-cache
-
docker-compose up -d
allow_failure
:
true
This diff is collapsed.
Click to expand it.
docker-compose.yml
0 → 100644
+
11
−
0
View file @
2a5ac0a4
version
:
'
3'
services
:
ehasa-backend
:
build
:
.
ports
:
-
8080:5000
postgres
:
image
:
mdillon/postgis
container_name
:
postgis
volumes
:
-
./docker:/docker-entrypoint-initdb.d/
\ 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