From 7a412c9981b140235da91741de1ab6b2414d8970 Mon Sep 17 00:00:00 2001 From: Martin Polanka Date: Fri, 17 Mar 2017 10:36:43 +0100 Subject: [PATCH] remove chdir --- Job-configuration.md | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/Job-configuration.md b/Job-configuration.md index 2245f20..daa9b5a 100644 --- a/Job-configuration.md +++ b/Job-configuration.md @@ -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