|
|
@ -57,22 +57,40 @@ Final configuration for worker is computer generated from those two configs.
|
|
|
|
--- # only one document which contains job, aka. list of tasks and some general infos
|
|
|
|
--- # only one document which contains job, aka. list of tasks and some general infos
|
|
|
|
submission: # information about this particular submission
|
|
|
|
submission: # information about this particular submission
|
|
|
|
job-id: 255
|
|
|
|
job-id: 255
|
|
|
|
time: 2015/12/09 22:22:22.0000
|
|
|
|
|
|
|
|
language: "cpp"
|
|
|
|
language: "cpp"
|
|
|
|
|
|
|
|
file-collector:
|
|
|
|
|
|
|
|
hostname: "localhost"
|
|
|
|
|
|
|
|
port: 36587
|
|
|
|
|
|
|
|
username: "654321" # can be ignored in specific modules
|
|
|
|
|
|
|
|
password: "123456" # can be ignored in specific modules
|
|
|
|
files: # or can be in tasks, sha1 hashing function
|
|
|
|
files: # or can be in tasks, sha1 hashing function
|
|
|
|
"recodex.cpp": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
|
|
|
|
"recodex.cpp": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
|
|
|
|
"01.in": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
|
|
|
|
"01.in": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
- task-id: "compile_test01"
|
|
|
|
- task-id: "compile_test01"
|
|
|
|
priority: 1
|
|
|
|
priority: 1
|
|
|
|
internal-task: false
|
|
|
|
|
|
|
|
failure-exit: true
|
|
|
|
failure-exit: true
|
|
|
|
source: "recodex.cpp"
|
|
|
|
|
|
|
|
destination: "recodex"
|
|
|
|
|
|
|
|
cmd: "g++"
|
|
|
|
cmd: "g++"
|
|
|
|
|
|
|
|
stdin: "recodex.cpp"
|
|
|
|
stdout: "compile01.out"
|
|
|
|
stdout: "compile01.out"
|
|
|
|
stderr: "compile01.err"
|
|
|
|
stderr: "compile01.err"
|
|
|
|
log: "compile.log"
|
|
|
|
log: "compile.log"
|
|
|
|
|
|
|
|
sandbox: # if defined task is external and will be run in sandbox
|
|
|
|
|
|
|
|
name: "isolate"
|
|
|
|
|
|
|
|
limits:
|
|
|
|
|
|
|
|
time: 5 # seconds
|
|
|
|
|
|
|
|
wall-time: 6 # seconds
|
|
|
|
|
|
|
|
extra-time: 2 # seconds
|
|
|
|
|
|
|
|
stack-size: 50000 # KB
|
|
|
|
|
|
|
|
memory: 50000 # in KB
|
|
|
|
|
|
|
|
parallel: false # time and memory limits are merged from all potential processes/threads
|
|
|
|
|
|
|
|
disk-usage: 5 # MB
|
|
|
|
|
|
|
|
directory-bindings:
|
|
|
|
|
|
|
|
- "/tmp/prepared": "/box"
|
|
|
|
|
|
|
|
- "/tmp/skeleton": "/"
|
|
|
|
|
|
|
|
environ-variable:
|
|
|
|
|
|
|
|
ISOLATE_BOX: "/box"
|
|
|
|
|
|
|
|
ISOLATE_TMP: "/tmp"
|
|
|
|
- task-id: "move_test01"
|
|
|
|
- task-id: "move_test01"
|
|
|
|
priority: 2
|
|
|
|
priority: 2
|
|
|
|
internal-task: true
|
|
|
|
internal-task: true
|
|
|
@ -84,18 +102,15 @@ tasks:
|
|
|
|
log: "move.log"
|
|
|
|
log: "move.log"
|
|
|
|
- task-id: "eval_test01"
|
|
|
|
- task-id: "eval_test01"
|
|
|
|
priority: 3
|
|
|
|
priority: 3
|
|
|
|
internal-task: false
|
|
|
|
|
|
|
|
failure-exit: false
|
|
|
|
failure-exit: false
|
|
|
|
dependencies:
|
|
|
|
dependencies:
|
|
|
|
- move_test01
|
|
|
|
- move_test01
|
|
|
|
source: "recodex"
|
|
|
|
|
|
|
|
destination: ""
|
|
|
|
|
|
|
|
cmd: "recodex -v -f 01.in"
|
|
|
|
cmd: "recodex -v -f 01.in"
|
|
|
|
stdin: "01.in"
|
|
|
|
stdin: "01.in"
|
|
|
|
stdout: "01.out"
|
|
|
|
stdout: "01.out"
|
|
|
|
stderr: "01.err"
|
|
|
|
stderr: "01.err"
|
|
|
|
log: "eval.log"
|
|
|
|
log: "eval.log"
|
|
|
|
sandbox: # if defined task will be run in sandbox
|
|
|
|
sandbox: # if defined task is external and will be run in sandbox
|
|
|
|
name: "isolate"
|
|
|
|
name: "isolate"
|
|
|
|
limits:
|
|
|
|
limits:
|
|
|
|
time: 5 # seconds
|
|
|
|
time: 5 # seconds
|
|
|
@ -111,6 +126,7 @@ tasks:
|
|
|
|
environ-variable:
|
|
|
|
environ-variable:
|
|
|
|
ISOLATE_BOX: "/box"
|
|
|
|
ISOLATE_BOX: "/box"
|
|
|
|
ISOLATE_TMP: "/tmp"
|
|
|
|
ISOLATE_TMP: "/tmp"
|
|
|
|
|
|
|
|
...
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Parameters And Results
|
|
|
|
### Parameters And Results
|
|
|
@ -126,6 +142,7 @@ Parameters are only read by the tasks (they can be used in task parameters). Som
|
|
|
|
#### Example result file
|
|
|
|
#### Example result file
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
--- # only one document which contains job, aka. list of tasks and some general infos
|
|
|
|
job-id: 5
|
|
|
|
job-id: 5
|
|
|
|
results:
|
|
|
|
results:
|
|
|
|
- task-id: compile1
|
|
|
|
- task-id: compile1
|
|
|
@ -142,6 +159,7 @@ results:
|
|
|
|
.
|
|
|
|
.
|
|
|
|
.
|
|
|
|
.
|
|
|
|
.
|
|
|
|
.
|
|
|
|
|
|
|
|
...
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Logs
|
|
|
|
### Logs
|
|
|
|