mvp
needs hacked pacth in docker runner wip most tests pass
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user