From db3ab49a23a9b6d962622eaa94b642447b011071 Mon Sep 17 00:00:00 2001 From: Petr Stefan Date: Wed, 14 Dec 2016 22:55:04 +0100 Subject: [PATCH] Update (Martin's comments) --- Rewritten-docs.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Rewritten-docs.md b/Rewritten-docs.md index 171de84..658f827 100644 --- a/Rewritten-docs.md +++ b/Rewritten-docs.md @@ -669,7 +669,6 @@ First, write header of the job to the configuration file. ```{.yml} submission: job-id: hello-word-job - language: c file-collector: http://localhost:9999/exercises hw-groups: - group1 @@ -685,10 +684,10 @@ _source.c_ (if submitted by user) already available in working directory, so just call the GCC. Compilation is run in sandbox as any other external program and should have relaxed time and memory limits. In this scenarion, worker defaults are used. If compilation fails, whole job is immediately terminated -(_fatal-failure_ bit set). Because _chdir_ and _bound-directories_ options in -sandbox limits section are mostly common for all tasks, they can be set in -worker configuration instead of job configuration (suppose this for following -tasks). For configuration of workers please contact your administrator. +(_fatal-failure_ bit set). Because _bound-directories_ option in sandbox limits +section is mostly common for all tasks, it can be set in worker configuration +instead of job configuration (suppose this for following tasks). For +configuration of workers please contact your administrator. ```{.yml} - task-id: "compilation" @@ -723,7 +722,6 @@ frontend. test-id: "A" type: "execution" priority: 2 - fatal-failure: false dependencies: - compilation cmd: @@ -733,6 +731,7 @@ frontend. stdout: ${EVAL_DIR}/out.txt limits: - hw-group-id: group1 + chdir: ${EVAL_DIR} time: 0.5 memory: 8192 ``` @@ -773,5 +772,6 @@ or not (other). Worker default limits are used. name: "isolate" limits: - hw-group-id: group1 + chdir: ${EVAL_DIR} ```