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 - **submission** -- information about this particular submission
- **job-id** -- textual ID which should be unique in whole recodex - **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 - _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 - **hw-groups** -- list of hardware groups for which are specified limits in this configuration
- **tasks** -- list (not map) of individual tasks - **tasks** -- list (not map) of individual tasks
- **task-id** -- unique identifier of task in scope of one submission - **task-id** -- unique identifier of task in scope of one submission
- **priority** -- higher number, higher priority - _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 - _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 - _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 - **cmd** -- description of command which will be executed
- **bin** -- the binary itself (full path of external command or name of internal task) - **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} ```{.yml}
- task-id: "compilation" - task-id: "compilation"
type: "initiation" type: "initiation"
priority: 1
fatal-failure: true fatal-failure: true
cmd: cmd:
bin: "/usr/bin/gcc" bin: "/usr/bin/gcc"
@ -727,7 +726,6 @@ at will)
- task-id: "execution_1" - task-id: "execution_1"
test-id: "A" test-id: "A"
type: "execution" type: "execution"
priority: 2
dependencies: dependencies:
- compilation - compilation
cmd: cmd:
@ -748,7 +746,6 @@ so only the name of required file (`sha1sum` in our case) is necessary.
```{.yml} ```{.yml}
- task-id: "fetch_solution_1" - task-id: "fetch_solution_1"
test-id: "A" test-id: "A"
priority: 3
dependencies: dependencies:
- execution - execution
cmd: cmd:
@ -766,7 +763,6 @@ or not (other). Worker default limits are used.
- task-id: "judge_1" - task-id: "judge_1"
test-id: "A" test-id: "A"
type: "evaluation" type: "evaluation"
priority: 4
dependencies: dependencies:
- fetch_solution_1 - fetch_solution_1
cmd: cmd:

Loading…
Cancel
Save