Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class DockerRunner(stages: Pipeline, context: DockerRunner.Context) : Runner, AutoCloseable, VolumeTrackable<DockerVolume>
Runner to execute a pipeline on docker and generates a ReportT
Functions
Link copied to clipboard
Executes a runner with the context, complete with automatic resource management.
Link copied to clipboard
private suspend fun runGpuPipeline(pipeline: Pipeline, envContext: DockerContext = DockerContext()): Runner
Same as runNoDepsPipeline
, but instead runs the pipeline with a specified GPU attached to it.
Link copied to clipboard
private suspend fun runNoDepsPipeline(pipeline: Pipeline, envContext: DockerContext = DockerContext()): Runner
Runs the given pipeline with the given envContext, configured to run on a host without the necessary files or directories.
Link copied to clipboard
private suspend fun runRemotePipeline(pipeline: Pipeline, envContext: DockerContext = DockerContext()): Runner
Runs the given pipeline with the given envContext, configured to run remotely on the zinc-dev server.
Link copied to clipboard
private suspend fun runTestfilesPipeline(yamlInStream: InputStream, assignmentConfigId: Long, submissionId: Long, isTASubmission: Boolean = false): Runner
private suspend fun runTestfilesPipeline(yamlInStream: InputStream, assignmentConfigId: Long, submissionId: String, isTASubmission: Boolean = false): Runner
Runs a pipeline created from parsing the configuration of yamlInStream, using files from assignmentConfigId and submissionId as its input.