Skip to content
Snippets Groups Projects
Commit 5996feaf authored by L4168's avatar L4168
Browse files

fixing erros

parent 8d1fb1fa
No related branches found
No related tags found
2 merge requests!59Development to master,!21Error handling
Pipeline #63927 failed
stages:
- purge
- e2e-test
e2e-testing:
purge-old-containers:
image: docker
services:
- docker:dind
......@@ -9,16 +10,25 @@ e2e-testing:
tags: ['docker']
only:
- testing
before_script:
script:
- echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USER" --password-stdin
- docker stop back
- docker stop postgis
- docker rm back
- docker rm postgis
after_script:
- docker logout
allow_failure: true
e2e-testing:
image: docker
services:
- docker:dind
stage: e2e-test
tags: ['docker']
only:
- testing
script:
- docker build -t backend .
- docker run --name back -p 8080:5000 -d backend
- docker run --name postgis -p 5432:5432 -d -v ./docker:/docker-entrypoint-initdb.d/ mdillon/postgis
after_script:
- docker logout
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment