new tmp
This commit is contained in:
parent
6afc6a3a2c
commit
7028ac37b6
@ -100,7 +100,7 @@ class BaseTester:
|
|||||||
def execute(self):
|
def execute(self):
|
||||||
self.solution.result = CONSTS["testing_status"]
|
self.solution.result = CONSTS["testing_status"]
|
||||||
self.solution.save()
|
self.solution.save()
|
||||||
with TemporaryDirectory() as self.path:
|
with TemporaryDirectory(dir='/tmp') as self.path:
|
||||||
for file in SolutionFile.objects.filter(solution=self.solution):
|
for file in SolutionFile.objects.filter(solution=self.solution):
|
||||||
dirs = file.path.split("/")
|
dirs = file.path.split("/")
|
||||||
for i in range(len(dirs) - 1):
|
for i in range(len(dirs) - 1):
|
||||||
|
@ -28,7 +28,6 @@ services:
|
|||||||
POSTGRES_DB: sprint
|
POSTGRES_DB: sprint
|
||||||
volumes:
|
volumes:
|
||||||
- /sprint-data/postgres-data:/var/lib/postgresql/data
|
- /sprint-data/postgres-data:/var/lib/postgresql/data
|
||||||
# - ./pg_hba.conf:/var/lib/postgresql/data/pg_hba.conf
|
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
deploy:
|
deploy:
|
||||||
@ -225,7 +224,7 @@ services:
|
|||||||
DEBUG: $DEBUG
|
DEBUG: $DEBUG
|
||||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||||
volumes:
|
volumes:
|
||||||
- /var/folders:/var/folders
|
- /tmp:/tmp
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
|
Loading…
Reference in New Issue
Block a user