remove chdir

master
Martin Polanka 8 years ago
parent 7a412c9981
commit 760de85bc5

@ -746,6 +746,12 @@ sandbox limits section is mostly shared between all tasks, it can be set in
worker configuration instead of job configuration (suppose this for following worker configuration instead of job configuration (suppose this for following
tasks). For configuration of workers please contact your administrator. tasks). For configuration of workers please contact your administrator.
Please note that working directory inside sandbox is automatically bounded to
the directory with fetched user source codes and therefore you do not have to
bound it by yourself. Also note that directories inside sandbox can be bound to
different paths, so inside sandbox you have to use special paths. For working
directory inside sandbox you can use ${EVAL_DIR} variable.
```{.yml} ```{.yml}
- task-id: "compilation" - task-id: "compilation"
type: "initiation" type: "initiation"
@ -760,11 +766,6 @@ tasks). For configuration of workers please contact your administrator.
name: "isolate" name: "isolate"
limits: limits:
- hw-group-id: group1 - hw-group-id: group1
chdir: ${EVAL_DIR}
bound-directories:
- src: ${SOURCE_DIR}
dst: ${EVAL_DIR}
mode: RW
``` ```
The compiled program is executed with time and memory limit set and the standard The compiled program is executed with time and memory limit set and the standard
@ -799,11 +800,6 @@ the output length (as long as the printing fits in the time limit).
stdout: ${EVAL_DIR}/out.txt stdout: ${EVAL_DIR}/out.txt
limits: limits:
- hw-group-id: group1 - hw-group-id: group1
chdir: ${EVAL_DIR}
bound-directories:
- src: ${SOURCE_DIR}
dst: ${EVAL_DIR}
mode: RW
time: 0.5 time: 0.5
memory: 8192 memory: 8192
``` ```
@ -844,11 +840,6 @@ used.
name: "isolate" name: "isolate"
limits: limits:
- hw-group-id: group1 - hw-group-id: group1
chdir: ${EVAL_DIR}
bound-directories:
- src: ${SOURCE_DIR}
dst: ${EVAL_DIR}
mode: RW
``` ```
<!--- <!---

Loading…
Cancel
Save