Update job config information

master
Petr Stefan 8 years ago
parent 7226579a3b
commit 3f7f7209bf

@ -142,13 +142,13 @@ Here is the list with description of allowed options. Mandatory items are bold,
- **submission** -- information about this particular submission
- **job-id** -- textual ID which should be unique in whole recodex
- **file-collector** -- address from which fetch tasks will download data
- _file-collector_ -- address from which fetch tasks will download data (API will fill)
- _log_ -- default is false, can be omitted, determines whether job execution will be logged into one shared log
- **hw-groups** -- list of hardware groups for which are specified limits in this configuration
- **tasks** -- list (not map) of individual tasks
- **task-id** -- unique identifier of task in scope of one submission
- **priority** -- higher number, higher priority
- **fatal-failure** -- if true, than execution of whole job will be stopped after failing of this one
- _priority_ -- higher number, higher priority, defaults to 1
- _fatal-failure_ -- if true, than execution of whole job will be stopped after failing of this one, defaults to false
- _dependencies_ -- list of dependencies which have to be fulfilled before this task, can be omitted if there is no dependencies
- **cmd** -- description of command which will be executed
- **bin** -- the binary itself (full path of external command or name of internal task)

@ -692,7 +692,6 @@ configuration of workers please contact your administrator.
```{.yml}
- task-id: "compilation"
type: "initiation"
priority: 1
fatal-failure: true
cmd:
bin: "/usr/bin/gcc"
@ -727,7 +726,6 @@ at will)
- task-id: "execution_1"
test-id: "A"
type: "execution"
priority: 2
dependencies:
- compilation
cmd:
@ -748,7 +746,6 @@ so only the name of required file (`sha1sum` in our case) is necessary.
```{.yml}
- task-id: "fetch_solution_1"
test-id: "A"
priority: 3
dependencies:
- execution
cmd:
@ -766,7 +763,6 @@ or not (other). Worker default limits are used.
- task-id: "judge_1"
test-id: "A"
type: "evaluation"
priority: 4
dependencies:
- fetch_solution_1
cmd:

Loading…
Cancel
Save