Updated Assignments overview (markdown)

master
Martin Polanka 9 years ago
parent dd6e491767
commit e11c17b700

@ -52,7 +52,7 @@ Configuration of the job which is passed to worker is generated from two parts:
Final configuration for worker is computer generated from those two configs. Final configuration for worker is computer generated from those two configs.
#### Configuration example #### Configuration example
This configuration example is written in YAML and serves only for demostration purposes. Therefore it is not working example which can be used in real traffic. Some items can be omitted and defaults will be used.
``` ```
--- # 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
@ -69,7 +69,7 @@ files: # or can be in tasks, sha1 hashing function
tasks: tasks:
- task-id: "compile_test01" - task-id: "compile_test01"
priority: 1 priority: 1
failure-exit: true fatal-failure: true
cmd: "g++" cmd: "g++"
stdin: "recodex.cpp" stdin: "recodex.cpp"
stdout: "compile01.out" stdout: "compile01.out"
@ -93,7 +93,6 @@ tasks:
ISOLATE_TMP: "/tmp" ISOLATE_TMP: "/tmp"
- task-id: "move_test01" - task-id: "move_test01"
priority: 2 priority: 2
internal-task: true
dependencies: dependencies:
- compile_test01 - compile_test01
source: "recodex" source: "recodex"
@ -102,7 +101,7 @@ tasks:
log: "move.log" log: "move.log"
- task-id: "eval_test01" - task-id: "eval_test01"
priority: 3 priority: 3
failure-exit: false fatal-failure: false
dependencies: dependencies:
- move_test01 - move_test01
cmd: "recodex -v -f 01.in" cmd: "recodex -v -f 01.in"

Loading…
Cancel
Save