remove chdir

master
Martin Polanka 8 years ago
parent ae5b8003cc
commit 7a412c9981

@ -27,9 +27,8 @@ List of usable variables in a job configuration:
- **WORKER_ID** -- integral identification of worker, unique on a server
- **JOB_ID** -- identification of this job
- **SOURCE_DIR** -- directory where source codes of the job are stored
- **EVAL_DIR** -- evaluation directory which should point inside the sandbox.
Note, that some existing directory must be bound inside sandbox under
**EVAL_DIR** name using _bound-directories_ directive inside limits section.
- **EVAL_DIR** -- evaluation directory which points inside the sandbox and is
automatically bound there
- **RESULT_DIR** -- results from the job can be copied here, but only with
internal copy task
- **TEMP_DIR** -- general temporary directory which is not dependent on
@ -236,7 +235,6 @@ in the job config file.
- _disk-files_ -- number of files which can be opened
- _environ-variable_ -- wrapper for map of environmental variables,
union with default worker configuration
- _chdir_ -- this will be working directory of executed application
- _bound-directories_ -- list of structures representing directories
which will be visible inside sandbox, union with default worker
configuration. Contains 3 suboptions: **src** -- source pointing
@ -278,11 +276,6 @@ tasks:
limits:
- hw-group-id: group1
parallel: 0
chdir: ${EVAL_DIR}
bound-directories:
- src: ${SOURCE_DIR}
dst: ${EVAL_DIR}
mode: RW
- task-id: "fetch_test_1"
priority: 4
fatal-failure: false
@ -306,11 +299,6 @@ tasks:
- hw-group-id: group1
time: 0.5
memory: 8192
chdir: ${EVAL_DIR}
bound-directories:
- src: ${SOURCE_DIR}
dst: ${EVAL_DIR}
mode: RW
- task-id: "fetch_test_solution_1"
priority: 6
fatal-failure: false
@ -336,11 +324,6 @@ tasks:
limits:
- hw-group-id: group1
parallel: 0
chdir: ${EVAL_DIR}
bound-directories:
- src: ${SOURCE_DIR}
dst: ${EVAL_DIR}
mode: RW
- task-id: "rm_junk_test_1"
priority: 8
fatal-failure: false

Loading…
Cancel
Save