|
|
|
@ -70,36 +70,37 @@ tasks:
|
|
|
|
|
source: "94549d889ae96210ff2a73bd0a5bbe3185f05ff6"
|
|
|
|
|
destination: "recodex.cpp"
|
|
|
|
|
cmd: "fetch"
|
|
|
|
|
log: "fetch.log"
|
|
|
|
|
log: "fetch.log" # voluntary option, can be omitted
|
|
|
|
|
- task-id: "fetch_input"
|
|
|
|
|
priority: 2
|
|
|
|
|
fatal-failure: true
|
|
|
|
|
source: "94549d889ae96210ff2a73bd0a5bbe3185f05ff6"
|
|
|
|
|
destination: "01.in"
|
|
|
|
|
cmd: "fetch"
|
|
|
|
|
log: "fetch.log"
|
|
|
|
|
log: "fetch.log" # voluntary option, can be omitted
|
|
|
|
|
- task-id: "move_test01"
|
|
|
|
|
priority: 3
|
|
|
|
|
fatal-failure: true
|
|
|
|
|
dependencies:
|
|
|
|
|
dependencies: # can be omitted if there is no dependencies
|
|
|
|
|
- compile_test01
|
|
|
|
|
source: "recodex.cpp"
|
|
|
|
|
destination: "/codex/boxes/tmp/recodex.cpp"
|
|
|
|
|
cmd: "mv"
|
|
|
|
|
log: "move.log"
|
|
|
|
|
log: "move.log" # voluntary option, can be omitted
|
|
|
|
|
- task-id: "eval_test01"
|
|
|
|
|
priority: 4
|
|
|
|
|
fatal-failure: false
|
|
|
|
|
dependencies:
|
|
|
|
|
- move_test01
|
|
|
|
|
cmd: "recodex -v -f 01.in"
|
|
|
|
|
stdin: "01.in"
|
|
|
|
|
stdout: "01.out"
|
|
|
|
|
stderr: "01.err"
|
|
|
|
|
log: "eval.log"
|
|
|
|
|
stdin: "01.in" # can be omitted if there is no binding to stdin
|
|
|
|
|
stdout: "01.out" # can be omitted if there is no binding to stdout
|
|
|
|
|
stderr: "01.err" # can be omitted if there is no binding to stderr
|
|
|
|
|
log: "eval.log" # voluntary option, can be omitted
|
|
|
|
|
sandbox: # if defined task is external and will be run in sandbox
|
|
|
|
|
name: "isolate"
|
|
|
|
|
limits:
|
|
|
|
|
name: "isolate" # mandatory information
|
|
|
|
|
limits: # if not defined, then worker default configuration of limits is loaded
|
|
|
|
|
# anything of the specified limits can be omitted and will be loaded from worker defaults
|
|
|
|
|
- hw-group-id: group1 # determines specific limits for specific machines
|
|
|
|
|
time: 5 # seconds
|
|
|
|
|
wall-time: 6 # seconds
|
|
|
|
@ -108,7 +109,7 @@ tasks:
|
|
|
|
|
memory: 50000 # in KB
|
|
|
|
|
parallel: false # time and memory limits are merged from all potential processes/threads
|
|
|
|
|
disk-usage: 5 # MB
|
|
|
|
|
directory-bindings:
|
|
|
|
|
directory-bindings: # describes which folders will be visible inside sandbox
|
|
|
|
|
- "/tmp/prepared": "/box"
|
|
|
|
|
- "/tmp/skeleton": "/"
|
|
|
|
|
environ-variable:
|
|
|
|
@ -121,7 +122,7 @@ tasks:
|
|
|
|
|
memory: 60000 # in KB
|
|
|
|
|
parallel: false # time and memory limits are merged from all potential processes/threads
|
|
|
|
|
disk-usage: 50 # MB
|
|
|
|
|
directory-bindings:
|
|
|
|
|
directory-bindings: # describes which folders will be visible inside sandbox
|
|
|
|
|
- "/tmp/prepared_home": "/home/"
|
|
|
|
|
...
|
|
|
|
|
```
|
|
|
|
|