needs hacked pacth in docker runner

wip

most tests pass
This commit is contained in:
Henry Oswald
2018-02-13 12:05:10 +00:00
parent b64106b730
commit 017ba3a4ec
19 changed files with 3008 additions and 1912 deletions

View File

@@ -5,7 +5,9 @@ logger.info "using standard command runner"
module.exports = CommandRunner =
run: (project_id, command, directory, image, timeout, environment, callback = (error) ->) ->
console.log("Command runner", directory)
command = (arg.replace('$COMPILE_DIR', directory) for arg in command)
console.log("Command runner 2", command)
logger.log project_id: project_id, command: command, directory: directory, "running command"
logger.warn "timeouts and sandboxing are not enabled with CommandRunner"