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