Skip to content
Snippets Groups Projects
Unverified Commit 9be76b7a authored by Sebastian Höffner's avatar Sebastian Höffner
Browse files

Removing environment variables and unimportant mount.

parent a17d643a
No related branches found
No related tags found
No related merge requests found
pipeline {
agent any
environment {
OPENCCG_NETWORK = 'litmus_default'
OPENCCG_EXTERNAL_PORT = '8081'
}
stages {
stage('build') {
steps {
......@@ -15,7 +10,7 @@ pipeline {
stage('test') {
steps {
sh 'docker run --rm -v "$(pwd)/app":/app -v "$(pwd)/tests":/tests web-openccg:$(git rev-parse --short HEAD) python3 -m unittest discover /tests'
sh 'docker run --rm -v "$(pwd)/tests":/tests web-openccg:$(git rev-parse --short HEAD) python3 -m unittest discover /tests'
}
}
......
......@@ -5,12 +5,3 @@ services:
openccg:
build: .
ports:
- "${OPENCCG_EXTERNAL_PORT:-80}:8080"
networks:
- external_network
networks:
external_network:
external:
name: ${OPENCCG_NETWORK:-web-openccg_default}
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