|
|
|
@ -54,31 +54,13 @@ Final configuration for worker is computer generated from those two configs.
|
|
|
|
|
* **Configuration example**
|
|
|
|
|
```
|
|
|
|
|
--- # only one document which contains job, aka. list of tasks and some general infos
|
|
|
|
|
problem: # some basic info about problem
|
|
|
|
|
id: 25
|
|
|
|
|
name: "test-problem"
|
|
|
|
|
created-at: 2015/12/09 22:00:00.0000
|
|
|
|
|
autovalidation: true
|
|
|
|
|
author:
|
|
|
|
|
id: 666
|
|
|
|
|
name: "Martin Polanka"
|
|
|
|
|
role: "admin"
|
|
|
|
|
submitter: # info about submitter, usually not necessary
|
|
|
|
|
id: 6666
|
|
|
|
|
name: "Martin Polanka"
|
|
|
|
|
role: "student"
|
|
|
|
|
group:
|
|
|
|
|
id: 3
|
|
|
|
|
name: "Programovani I"
|
|
|
|
|
submission: # information about this particular submission
|
|
|
|
|
id: 255
|
|
|
|
|
time: 2015/12/09 22:22:22.0000
|
|
|
|
|
language: "cpp"
|
|
|
|
|
files: # or can be in tasks, sha1 hashing function
|
|
|
|
|
- hashcode: 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
|
|
|
|
|
name: "recodex.cpp"
|
|
|
|
|
- hashcode: 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
|
|
|
|
|
name: "01.in"
|
|
|
|
|
"recodex.cpp": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
|
|
|
|
|
"01.in": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
|
|
|
|
|
tasks:
|
|
|
|
|
- id: "compile_test01"
|
|
|
|
|
priority: 1
|
|
|
|
|