PartialContext

open class PartialContext(val assignmentConfigId: Long, stageWaitDuration: Duration? = null, earlyReturnOnThrow: Boolean? = null, val envContext: EnvContext)

An incomplete Runner.Context containing part of its data This will be converted to Runner.Context before running a pipeline, as early as processing individual submissions

Inheritors

Constructors

Link copied to clipboard
constructor(assignmentConfigId: Long, stageWaitDuration: Duration? = null, earlyReturnOnThrow: Boolean? = null, envContext: EnvContext)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

id for the assignment config

Link copied to clipboard

whether to early exit the pipeline as long as a pipeline stage throws (non-zero exit code)

Link copied to clipboard

amount of cpu and memory resources allocated to the runner

Link copied to clipboard
Link copied to clipboard

inPaths for the mounted inPaths.graderHostRoot and corresponding inPaths.envHostRoot, serves for data input outPathRoots for the mounted outPaths.graderHostRoot and corresponding outPaths.envHostRoot, serves for data output where Runner.Context.outPaths is outPathRoots appended with the name, such that this is specific to a runner instance

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

sourceName is the source directory mapped in the volume, containing submission possibly blended with provided and/or solution

Link copied to clipboard

maximum amount of time to wait before timeout of a pipeline stage

Link copied to clipboard

template is the relative path mapping for template files from inPaths.envHostRoot, to directory in the volume skeleton is the relative path mapping for skeleton files from inPaths.envHostRoot, to directory in the volume provided is the relative path mapping for provided files from inPaths.envHostRoot, to directory in the volume generated is the relative path mapping for generated files from inPaths.envHostRoot, to directory in the volume

Functions

Link copied to clipboard
Link copied to clipboard